#Lightmapping Crash

1 messages · Page 1 of 1 (latest)

small mist
#

If I add lightmaps to a scene with subscenes, it works fine. But as soon as I do something that would cause a refresh, like a code change, I get a fatal editor crash from UnityEngine.Rendering.BatchRendererGroup:RegisterMaterial_Injected as part of RegisterMaterialsAndMeshesSystem:OnUpdate

I can't seem to find anyone else talking about this

#

also note that if I start the editor, everything is fine again... the crash seems to only happen on a refresh, not on the first load

#

I'm realizing that I can upgrade my package... maybe that will fix it...

manic arch
#

oh a few people at work have had this crash, not everyone though

#

didn't realize it was related to lightmaps, that's good to know - i haven't seen it reported in a while though

small mist
#

look at that, upgrading appears to be working so far... probably fixed by entities graphics 1.3.0-pre.4 "Pink materials when causing a domain reload while a subscene is open with lightmapped materials."

#

I was getting worse than pink materials, but it's the right part of the code

small mist
#

so, I actually do still get this same crash

#

it's less consistent than it used to be

#

but whatever the logic is behind RegisterMaterial_Injected is unstable

#

except today it does seem to be consistent 😠