TheSniperFan / unityserializer-ng

Resurrection of the discontinued Unity Serializer by Mike Talbot from WhyDoIDoIt.com (Unity 5)
MIT License
61 stars 17 forks source link

Serializer attempts to destroy transform component #28

Closed lukas-gerster closed 8 years ago

lukas-gerster commented 8 years ago

The serializer wants to destroy transform components on loading a level, generating an error message on each attempt. Unfortunately there is no traceback where this is called from the message. Example: 'Can't destroy Transform component of 'Text'. If you want to destroy the game object, please call 'Destroy' on the game object instead. Destroying the transform component is not allowed.'

TheSniperFan commented 8 years ago

I'll look into this today. Does this only happen with certain types?

TheSniperFan commented 8 years ago

Can't seem to reproduce this. You'll need to tell me how to reproduce this step by step. And by that I mean starting from an empty project.