I know it's not perfect, but I hope this helps some people save at least some work. (Not to mention some hair-ripping frustrations)ĬURRENT 'FIX': So unfortunately, it seems the only way to rectify this to go into the prefab and delete all merged objects that use pre-fabs. This is a very watered down version of the Unreal tutorial s. I know it's not perfect, but I hope this helps some people save at least some work. One huge advantage of timers is that they are ticked by a single object, the FTimerManager which is a static non-copyable object. We create a widget, and user blueprints on the game mode to create a timer. My theory is if you use such an asset with these 'merged-object-pre-fab' things, I think Unity recalculates the Normals for each instance of the asset every time you enter/exit play mode.ĬURRENT 'FIX': So unfortunately, it seems the only way to rectify this to go into the prefab and delete all merged objects that use pre-fabs. HOWEVER, if I kept the 3 wall pre-fabs separate, but selected all three for duplication, there would be no issue/lag/hang ups.) (Another note-worthy observation, if I were to stack 3 wall segments and 'merge-objects' them, the editor would lag for a second or so every time I duplicated this merged object with 'Ctrl+D'. So whenever you modify the mesh, PB has to recalculate off these Normals again. When PB finished the merge, my normals were all sorts of messed up and it was showing the back side parts as the 'surface' in some areas, and the opposite in other sections. I think this deals with how PB handles merging objects, as whenever I used this feature, It seemed to have a hard time figuring out which parts of the multiple objects were meant to be the 'true surface' to re-calculate normals and such.įor example, I one time merged ALL of my wall assets in a boss room into one 'super wall' object. The more extreme the modifications, the greater the lag. When you do that, you may start to notice the Editor lag substantially. Where the issue seems to start to creep in is if you try to use Pro-Builder to modify these merged objects that were once their own pre-fabs. I can reliably recreate the 'application.tick' issue by taking a pre-fab, lets say a generic wall asset for making a room, placing multiple instances of that pre-fab inside a new pre-fab, say like a whole room, then using Pro-Builder's 'Merge Objects' feature, try to merge several wall pre-fab objects into one.ĭepending upon the complexity of the merged objects, this step can take several minutes, but that's kind of expected when merging objects. So I think I've narrowed down the culprit further, at least in my situation.
0 Comments
Leave a Reply. |