Lights Despawn Quicker Than Model When "Use Instancing" is Used

Version: 1.6.15.0

Frequency: Consistently

Severity: High

Context: 24 native Package in community folder

Bug description: When meshes with fast lights are instanced, for example street lights, the light disappears before the actual mesh does when they are instanced.

Using this for streetlights would significantly improve performance as it would save around 2000 drawcalls in the built package. I also think that this is a regression, but I am not 100%. However, I have had this setup for a while now and only this morning have I noticed that they suddenly disappear too quickly so I am pretty certain that this might be a new bug.

Repro steps: make a simple mesh with lights attached and instance them and instance them in the editor. Compare that to the non instanced version and look at when the light disappears.

**Attachments:
**
On the left you can see the same model not instanced and on the right they are instanced. Please also not that the mesh actually doesn’t despawn due to LODs or any of the sort. THe mesh is still there it is just the lights that disappear.

Also, if it turns night when they are further away they actually work. Only when you get closer and then move away again they turn off.

Now extremely far away and as you can see for some reason now they just appeared again. So it’s definitely nothing to do with the model and must have something to do with the instancing feature. Would really appreciate a fix for this because as I said using this saves more than 2000 drawcalls.

Hello,

This has been logged in our backlog.

Regards,
Boris

1 Like

Thanks Boris!