adding data to .umap make landscape bug
Bug description I created a new map to import into a game called "The Cycle" using Unreal Engine 4.24. The map contains a landscape and basic 3D meshes and seems to work correctly in the game. Since all the game files are cooked, I had to find a solution to implement some actor BPs inside the map using uassetGUI, the problem is that this seems to make the entire landscape buggy (see the video). The hitbox of the landscape is still correct, the bug is just visual. Even when only adding new row into the Name Map in uassetGUI, and for some reason I ignore, the more data you add, the crazier the bug becomes. It seems this may be related to the LOD, because when I move away from the map using the free camera, the map returns to normal. I still don't know if it's something related to the UE landscape or to uassetGUI.
To Reproduce Steps to reproduce the behavior:
- Create a map using UE 4.24 and import the .umap by cooking the package
- Add new row or data to the .umap file into uassetGUI
- Open map inside the game
- See bug, landscape go crazy
I can only provide you 2 different .pak with each the .umap file, one unedited and one edited (which cause the bug) using uassetGUI :
Expected behavior totally normal landscape :)
Short video of the bug https://youtu.be/S2XnZo9C-lA
Desktop :
- Windows 10
- Unreal Engine 4.24.3
- UAssetGUI v1.0.4x (8d3cd20 - ec758cd)
Dummy the actor BPs in Unreal Engine by simply creating them with their correct game paths, and placing them in your map, making sure not to chunk them since they will instead use the actual ones from the game. https://github.com/Dmgvol/UE_Modding/blob/main/AdvancedModding/BpReplication.md
Clearly not what my problem is, did not asked how to add BPs.
Adding anything to any .uasset/.umap is not an easy thing to do without breaking the file completely, versus replacing and editing stuff that's already there, you have to know what you're doing and even then it is very easy to break the file and there's not really much that can be done about that.
Clearly not what my problem is, did not asked how to add BPs.
I had to find a solution to implement some actor BPs inside the map using uassetGUI
Even when only adding new row into the Name Map in uassetGUI, and for some reason I ignore, the more data you add, the crazier the bug becomes.
Create a map using UE 4.24 and import the .umap by cooking the package
Sounds like this is exactly your problem. You have screws, and you're trying to use a hammer. You need to dummy the files you're trying to add to the map you're making, in Unreal Engine and not UAssetGUI. If you're trying to spawn them into an already cooked map you would use something like a LogicMods blueprint or UE4SS lua, either way you do this probably easier without UAssetGUI.