Hi there.
Was hoping to give this a try for a project using Unity 6, and especially VR as the default URP Lens Flare system is not rendering in VR. So I am looking for a more performant Lens Flare system that I could use. I stumbled on your project, but checking our your example scene I get this error when selecting the camera with the MFLensFlareSimple component.
[Exception] NullReferenceException: Object reference not set to an instance of an object
MFLensflareEditor.OnInspectorGUI() at /MoonFlowLensFlare/MFLensFlare.cs:326
324: public override void OnInspectorGUI()
325: {
--> 326: EditorGUILayout.LabelField("Light Count: ", _target.FlareDict.Count.ToString());
327: base.OnInspectorGUI();
328: }
InspectorElement+<>c__DisplayClass79_0.b__0() at :0
GUIUtility.ProcessEvent()
Separate issue is that it only renders in one eye in VR.
Hi there.
Was hoping to give this a try for a project using Unity 6, and especially VR as the default URP Lens Flare system is not rendering in VR. So I am looking for a more performant Lens Flare system that I could use. I stumbled on your project, but checking our your example scene I get this error when selecting the camera with the MFLensFlareSimple component.
[Exception] NullReferenceException: Object reference not set to an instance of an object
MFLensflareEditor.OnInspectorGUI() at /MoonFlowLensFlare/MFLensFlare.cs:326
324: public override void OnInspectorGUI()
325: {
--> 326: EditorGUILayout.LabelField("Light Count: ", _target.FlareDict.Count.ToString());
327: base.OnInspectorGUI();
328: }
InspectorElement+<>c__DisplayClass79_0.b__0() at :0
GUIUtility.ProcessEvent()
Separate issue is that it only renders in one eye in VR.