I have successfully got my player switching between different prefabs but the previous prefab is left in the scene, and when I try to use an object remove action, the console gives me this message:
Object reference not set to an instance of an object
How do I go about setting it up to delete the instance in my object remove action?
Thanks!
Comments
However, you shouldn't have to resort to the Object: Add or remove Action. Player: Switch should automatically remove the original Player prefab for you (see the "Old Player" field at the bottom). What values have you got in your Action? Please post a screenshot if you can.
Don't use "Object: Add or remove" to remove the Player manually. The "Player: Swtich" Action will do this for you, and you will likely have problems otherwise.