#1.2.0p12 RegisterMaterialsAndMeshesSystem.RegisterMaterialsAndMeshes NullReferenceException

1 messages · Page 1 of 1 (latest)

misty rampart
#

Getting some heavy error spam with p12, that didnt occur in p6

Seems possibly related to lightmap baking or graphics entities with lightmap/ probe data? What seems to trigger it is baking Adaptive Probe Volume (Clicking Bake Probe Volumes). I think its triggered by the Generate Lighting button too, but calling BakeLighting from code doesnt trigger the errors(where I think generate lighting does after the lighting bake is done).

Errors only occur in the editor and not during runtime. Doesnt appear to affect things visually.

#

I thought it mightve been a missing material so I made this little system to check the RenderMeshArray for any nullrefs during baking/importing. None found, unless probe data is baked. When that happens, it seems like every entity with a RMA has a full array of null references

misty rampart
#

IN-69809