12 Replies
(null argument is nullable)
entPosi
? s
? spriteEffect
? Space.layer
?thoses are structs that can't be null
all of them?
can you attach a debugger and set it to break on exception?
how to ?
i got null reference exeption
i guess the error is somewhere else ... but i can't find

it should then break when the exception is thrown, and you can inspect everything at that moment
ok i will put here what went wrong when i found it
it would be easier to track down the issue if you didn't have so much embedded in one statement
break it up into a few intermediate variables and it will help narrow down the issue
i found
this was returning null

That'll do it.