1/16/2024 0 Comments Unity extract assets fileIf I now make some changes in the scene with this prefab e.g. Here is what happens: In editor mode I hit the button and the right sprite is loaded and displayed. Background: I have a Tree prefab with different grow stages and want to load according to the set grow stage the corresponding sprite + this should be possible in editor mode to make level design easier. The button calls a method in the TestSpriteAtlas.cs that gets a sprite out of the atlas (by the name of the sprite) to assign it to the sprite renderer. I have also an editor script TestSpriteAtlasEditor.cs to create a button in the inspector. I found out that the problem in my case is the interaction between a prefab gameobject called SpriteAtlasTest that has the following components: a sprite renderer and a script TestSpriteAtlas.cs that holds a sprite atlas. UnityEditor.EditorApplication:Internal_CallGlobalEventHandler() The error says:Ĭould not extract GUID in text file Assets/Scenes/Test.unity at line 234. So I created a minimal example in a test scene to reliable reproduce the error. I experience the GUID errors as well (working with Unity version 2018.3.6f1).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |