SkeletonRenderTexture error occured.
KorNoob Thank you for sending us a repro project! I am afraid to say but that the data you sent us was much larger than we would generally expect. (677MB)
When you send your Unity project to someone, it is enough to have Assets
, Packages
, and ProjectSettings
in most cases, so if there is a next time, we would appreciate it if you could delete the Libarary
folder and other unnecessary files before sending them to us.
We will look into this and let you know if we find anything.
@KorNoob Thanks for sending the package. Please note that we requested a minimal Unity project which still demonstrates this issue, but your project and example scene contains a network manager with all kinds of unrelated things. Please understand that we don't have the time to debug your net-code for potential issues there.
You need to boil down the issue to a reproduction scene which just uses one or two scripts which re-create the whole problem, with as few lines of code as possible, definitely without any network code involved. Then we can have a look at what's going wrong.
@KorNoob Thanks for your understanding. Looking forward to the updated package.
KorNoob 마지막에 달아주신 답변내용은 제가 SkeletonDataAsset을 교체할때 잘못된 방법을 사용한것이라고 해석하면 될까요? 번역기가 정확하게 번역하지못해서 이해하기가 조금 어렵습니다.
No, I didn't mean that you used the wrong method, I just described that your reproduction project example scene should use just a simple script, as simple as possible. It was not intended to say that some method call is wrong in your code. It should just be minimal, without any unnecessary layers around it.
Harald
아하 이해했습니다. 자세한 설명 감사합니다 Harald.
그런데 재현 프로젝트를 변경하는 중에 발견한 것이 있습니다.
Scene에 이미 생성되어있는 스파인 오브젝트의 경우는 해당 오류가 재현되지않으나, 프리팹으로 만든 스파인 오브젝트를 런타임중에 Instantiate를 통해 생성된 스파인 오브젝트의 경우 해당 오류가 발생하는것을 확인하였습니다.
그래서 런타임중에 오브젝트 생성을 담당하는 SpawnManager class와, 스파인오브젝트의 애니매이션 과 SkeletonDataAsset 변경을 담당하는 TargetObject class를 만들게 되었습니다. 이 부분은 양해 부탁드립니다.
메일은 다시 보내드렸습니다.
감사합니다.
@KorNoob We just released a bugfix for this issue, both for SkeletonRenderTexture
and SkeletonGraphicRenderTexture
.
A new spine-unity unitypackage is available for download:
https://esotericsoftware.com/spine-unity-download
Please let us know if this fixes the issue for you as well. Thanks again for reporting!
Issue ticket URL for later reference:
EsotericSoftware/spine-runtimes2529