#ArgumentNullException

1 messages · Page 1 of 1 (latest)

foggy yew
#

@pale spindle sorry again

#

This is Encoders.cs

pale spindle
#

ah, i see what the issue is. you're trying to new a MonoBehaviour and expecting that to call Start on it

foggy yew
#

By the way, I get this exception when I call ShiftCaesarCipher with ("hi", 1)

#

Ohhh right

pale spindle
#

you should not be calling the constructor for a MonoBehaviour manually. in fact, this Encoders class doesn't even need to be one. just turn its Start method into a constructor and remove the MonoBehaviour inheritance

foggy yew
#

I got the error about that before but then it disappeared so I thought it was fixed?

foggy yew
pale spindle
#

what i suggested would not cause a StackOverflow

#

unless that is coming from your ListConstants class

foggy yew
#

Well never mind

#

That worked perfectly

#

Thank you!

#

Not sure what I was remembering then