Null object error pointing to use of MemberwiseClone
This is likely due to the fact that we do not currently support MemberwiseClone().
Possible solutions:
- Use instantiate instead:
var myClone = Instantiate(myOriginal); - Create a new object and copy the necessary values over from the original object at the same point where
MemberwiseClone()was called.