So, I have lighting in my scene, every light (point, spot etc) works fine, however it seems I’m recently getting issues with the global 2D light not working. I get the error: More than one global light on layer Default for light blend style index 0 UnityEngine.Experimental.Rendering.Universal.Light2D:OnEnable () (at D:/The Video Game_WwiseIntegrationTemp/Library/PackageCache/com.unity.render-pipelines.universal@10.7.0/Runtime/2D/Light2D.cs:196)
Despite only having one global light set up in the scene. I can get it to work again if I delete the global light each time and then hit play. but then when I exit Unity and load it back up, it errors again.
I recently integrated with Wwise, not sure if that would cause any issues?
Hi @NeilB133 , you can filter your hierarchy using t:light2d to search if you have more than one global light in your scene. The error only comes up if there is a more than one global light with the same blend style.
If the error still persists, feel free to share your project and editor version and we’ll take a look.
I have no idea how this happened, but there was a global 2D light nested deep in one of my Prefabs, I must have dragged it in there by mistake at some point… life saver man <3