BunyaPineTree / LethalCompany_ModelReplacementAPI

MIT License
55 stars 17 forks source link

NullReferenceException: Object reference not set to an instance of an object OffsetBuilderEditor.OnInspectorGUI () (at ./Library/PackageCache/com.bunya.modelreplacementsdk@91ccd7f277/Editor/ItemOffsetEditor.cs:63) UnityEditor.UIElements.InspectorElement+<>c__DisplayClass72_0.<CreateInspectorElementUsingIMGUI>b__0 () (at <2e279d988b9d4542841de511fbfdf8c2>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) #108

Closed NovaAshwolfDev closed 3 months ago

NovaAshwolfDev commented 5 months ago

NullReferenceException: Object reference not set to an instance of an object OffsetBuilderEditor.OnInspectorGUI () (at ./Library/PackageCache/com.bunya.modelreplacementsdk@91ccd7f277/Editor/ItemOffsetEditor.cs:63) UnityEditor.UIElements.InspectorElement+<>c__DisplayClass72_0.b__0 () (at <2e279d988b9d4542841de511fbfdf8c2>:0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

image

BunyaPineTree commented 5 months ago

Make sure you're using the correct version of unity editor. I don't know what would cause this, but I know wrong version have caused similar problems in the past.

NovaAshwolfDev commented 5 months ago

i have 2022.3.9f1

BunyaPineTree commented 3 months ago

Closing this issue, as it's almost definitely related to an incorrect configuration.