#Unity: Value cannot be null Error

7 messages · Page 1 of 1 (latest)

spice lily
#

https://forum.unity.com/threads/argumentnullexception-value-cannot-be-null-parameter-name-_unity_self.1431901/
https://forum.unity.com/threads/system-argumentnullexception-value-cannot-be-null-parameter-name-_unity_self.1447684/

The code is irrelevant actually in this error because it's Unity bound. Please read the above links. It seems this is a Unity bug regarding UIElements. The system doesn't seem production ready.

glacial schooner
#

@spice lily Restarting Unity after this error always fixes it.

glacial schooner
#

I don't have a detailed idea of why it occurs, but mostly for me it occurs after alt tabbing too many times to my IDE very quickly, and then when it has to recompile everytime, perhaps then it triggers an issue, no idea.

golden olive
#

How about changing packages to recommended versions?

spice lily
spice lily
spice lily