[SOLVED]Wont save changes to prefab

Updated on January 4, 2017 in [A] Other Answers
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
5 on January 3, 2017

When i put something in a public variable, then apply it, when i go to the prefab , its not there. Here’s the video: https://vimeo.com/197961752 sorry for the zooming too much.

  • Liked by
Reply
1 on January 3, 2017

Does is also happen when you make it into a new prefab?

Helpful
on January 4, 2017

yes

Show more replies
  • Liked by
Reply
Cancel
2 on January 4, 2017

That’s normal behaviour since a prefab can’t store a reference to a gameobject that might not exist in another scene

Helpful
on January 4, 2017

do you mean i cant store a reference to a prefab from a scene?

Helpful
on January 4, 2017

well i kinda fixed it, all i did was make a new script and put it in a gameobject in the scene, and then in the prefab, i find that script in the hierarchy then store its variable to my prefab variable.

Show more replies
  • Liked by
Reply
Cancel