KorNoob 그런데, 게임내에서 동적으로 SkeletonAnimation의 SkeletonDataAsset을 변경하면, ArgumentException: RenderTextureDesc width must be greater than zero. 라는 오류가 발생합니다.
However, if I dynamically change the SkeletonDataAsset of SkeletonAnimation in the game, get the error [ ArgumentException: RenderTextureDesc width must be greater than zero ].
Sorry to hear you're having troubles! Could you please share the complete exception error message you received, including the stack trace (visible if you select the error in the Console window).
What code did you use to exchange the SkeletonDataAsset
at runtime? Also, from where is this code called? It might be the wrong time in the update cycle when your SkeletonDataAsset
replacement code is called.
I assume that you've had a SkeletonRenderTexture
component at the GameObject where you repaced the SkeletonDataAsset
at runtime, is this correct?