I’m on HDRP 2021.2.14 and Mac mini OS 12.2.1 with an EGPU.
I had upgraded from 2020, but I upgraded by creating a new 2021 project and copying over the assets folder from my 2020 project. This is because the upgrade process didnt seem to work. In 2020 the project would compile and play just fine.
I deleted the Library and rebuilt it but all is running smoothly now except that I cant build.
I’ve had a bunch of warnings (not errors).
Console says the build completed with Succeeded and when I click on the build it launches then quits right away.
When I create a new project, it builds fine. I also noticed that Burst is enabled in a new build in the Burst AOT Settings. But in my project, if I enable it I get the warning:
TargetException: Non-static field requires a target
System.Reflection.RuntimeFieldInfo.SetValue (System.Object obj, System.Object val, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) (at :0)
System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object value) (at :0)
Unity.Burst.Editor.BurstAotSettingsIMGUIRegister+BurstAotSettingsProvider.OnGUI (System.String searchContext) (at
The frustrating thing is that the build succeeds but when I try to open it, it crashes. Also I do have Mac as my target platform enabled.
Any help would be greatly appreciated.