Config Window Editor Compiler Errors

Avatar
  • updated

I just installed it in a project runningy unity 6.3 LTS and get the following error:

GUI Error: Invalid GUILayout state in ShapesConfigWindow view. Verify that all layout Begin/End calls match

followed by:

NullReferenceException: Object reference not set to an instance of an object
ShapesConfigWindow+<>c.b__37_1 (UnityEngine.Rendering.Universal.ScriptableRendererFeature x) (at Assets/Shapes/Scripts/Editor/Windows/ShapesConfigWindow.cs:214)

The config window doesnt work but the shapes do.

Reporting a bug? please specify Unity version:
6000.3.6f1
Reporting a bug? please specify Shapes version:
4.5.1
Reporting a bug? please specify Render Pipeline:
URP
Avatar
Julian Viezens

This seems to have been caused by a urp renderer with a missing feature script.
I think i fixed it myself.

Maybe an error message could help here! This line breaks if the rendererfeature is broken, because x is not nullchecked

Image 921