Using Unity Events - Lecture 163 rpg

Hi,
I am having a problem instantiating the damage text using the damage text spawner. The text spawns but into the scene as a whole not on the spawner. As far as I can tell the code is right and the event has been set up properly but I keep getting the error “cannot instantiate objects with a parent which is persistent. New object will be created without a parent.” I include a screenshot of the code and prefabs.

Thanks



I would give the Q&A on Udemy a browse if you have not already i believe there may be a solution attached to the lecture.

If you are taking this course solely on this site please do let me know as then i can find the relavent post and copy the information over for you :slight_smile:

I found the answer.
Thanks

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms