Processing draw call failed with : NullReference in editor #230
belgarion01
started this conversation in
Bugs
Replies: 2 comments 1 reply
-
I managed to find a workaround by adding a UIBlock with a size of (1, 1) into the parent which was set to shrink but that's not really a fix. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The fix for this has been published ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I had an error which popped everytime a particular UIBlock2D was refreshing in the editor. It seems it was because he had a size of (0, 0). It's normal because it was set to shrink to children and no children was yet spawned because we are not in game. On game start, I populate this object with some saved data.
When deactivated "shrink" and set the size to (1, 1) and then reactivated the "shrink", the error was gone.
Edit: Nevermind the error is back :(
Here is the error message :
Processing draw call failed with: System.NullReferenceException: Object reference not set to an instance of an object at Nova.InternalNamespace_0.InternalNamespace_10.InternalType_790.InternalMethod_3813 (UnityEngine.MaterialPropertyBlock InternalParameter_3608, System.Int32 InternalParameter_3607, Nova.InternalNamespace_0.InternalNamespace_10.InternalType_789 InternalParameter_3537) [0x00001] in C:\Users\MDS.PC.007\wkspaces\ProjectS_Proto\ProjectS_Lite\Assets\Plugins\Nova\Scripts\Internal\InternalScript_258.cs:198 at Nova.InternalNamespace_0.InternalNamespace_10.InternalType_263.InternalMethod_1200 (Nova.InternalNamespace_0.InternalNamespace_10.InternalType_264& InternalParameter_1286, Nova.InternalNamespace_0.InternalNamespace_10.InternalType_276& InternalParameter_1287) [0x00001] in C:\Users\MDS.PC.007\wkspaces\ProjectS_Proto\ProjectS_Lite\Assets\Plugins\Nova\Scripts\Internal\InternalScript_150.cs:373 at Nova.InternalNamespace_0.InternalNamespace_10.InternalType_263.InternalMethod_1195 (System.Int32 InternalParameter_1280) [0x001a5] in C:\Users\MDS.PC.007\wkspaces\ProjectS_Proto\ProjectS_Lite\Assets\Plugins\Nova\Scripts\Internal\InternalScript_150.cs:294 at Nova.InternalNamespace_0.InternalNamespace_10.InternalType_263.InternalMethod_1194 () [0x00137] in C:\Users\MDS.PC.007\wkspaces\ProjectS_Proto\ProjectS_Lite\Assets\Plugins\Nova\Scripts\Internal\InternalScript_150.cs:254 UnityEngine.Debug:LogError (object) Nova.InternalNamespace_0.InternalNamespace_10.InternalType_263:InternalMethod_1194 () (at Assets/Plugins/Nova/Scripts/Internal/InternalScript_150.cs:258) Nova.InternalNamespace_0.InternalNamespace_10.InternalType_268:InternalMethod_608 () (at Assets/Plugins/Nova/Scripts/Internal/InternalScript_185.cs:212) Nova.InternalNamespace_0.InternalType_64:InternalMethod_431 () (at Assets/Plugins/Nova/Scripts/Internal/InternalScript_40.cs:373)
Beta Was this translation helpful? Give feedback.
All reactions