- Düzenlendi
[BUG] when select a SkeletonData under Project panel, ...
First of all, please consider to increase the length limit of the title in this forum. I cannot even type a complete sentence.
About the issue. When selected a SkeletonData under Project panel, It keep creating "Spine GameObject" in the Hierarchy. I wonder if its caused by in inspector code for the selected SkeletonData.
I am using the latest v4 runtime under Unity 2021.3
I found that it is happening only to my new export so I am attaching the export files for you to reproduce the issue.
HeadGears.7z
We're sorry for the troubles! Thanks for reporting.
While we could not reproduce your described problem with your provided repro assets, we found a different issue to occur every second reimport of this directory, so far only on Unity 2021.3 (after deleting the generated assets everty time to start with only the three exported assets): an error is thrown saying that the main texture at the material is null. We will investigate this observed issue and let you know once we have a fix to offer, perhaps it resolves your problem as a follow-up issue as well.
Did you receive any error messages in the console window as well when importing the provided reproduction assets? Could you perhaps provide some reproduction steps how we could reproduce the problem of many instances being added in the Hierarchy window?
After that error occurs, I reverted the runtime to previous version to continue my work. Now I also not able to reproduce it on a new project. May be somes states just got messed up before. Will let you know if the spawn issue happens again.
I feared that, thanks for trying. We will keep our eyes open as well of course.
Harald yazdıWhile we could not reproduce your described problem with your provided repro assets, we found a different issue to occur every second reimport of this directory, so far only on Unity 2021.3 (after deleting the generated assets everty time to start with only the three exported assets): an error is thrown saying that the main texture at the material is null. We will investigate this observed issue and let you know once we have a fix to offer, perhaps it resolves your problem as a follow-up issue as well.
FYI: We've fixed this second import-related bug, both on the 4.0 and 4.1-beta branches (in this commit). While it's an improvement, we unfortunately doubt that it implicitly resolves your observed problem as well. We'll keep an eye open for it.
New 4.0 and 4.1-beta spine-unity unitypackages are available for download here as usual:
Spine Unity Download