CreateAvatarConstant make app die

:question: question: A die happened on my app,i catched the die using android studio profiler. I looked the unitymain thread stack, and found something:


Would you kindly please report this issue via the Bug Reporter tool?

Please make sure to write the exact steps needed to be taken so that the reproduction would be visually seen. Also make sure to attach a reproduction project and any visual material so that when testing our CQA team can verify that they got the same results. If you can, please use this template:

How to reproduce:

  1. Open the attached project
  2. Do this
  3. Do that
  4. Select this
  5. Observe that

Expected result: Something is visible, something is printed or something happens
Actual result: The opposite of what I expect happens

Reproducible with: Editor version I am using (e.g: 2021.3.xf1)

Reproduced on: The OS I am on (e.g: Windows 11, macOS Ventura 13.1 (Intel/Silicon))

so,I did this:

place 6:
mecanim::animation::CreateAvatarConstant(mecanim::skeleton::Skeleton*, mecanim::skeleton::SkeletonPoseTmath::trsX, mecanim::skeleton::SkeletonPoseTmath::trsX, mecanim::human::Human*, mecanim::skeleton::Skeleton*, int, math::trsX const&, RuntimeBaseAllocator&)

CreateAvatarConstant call the nanosleep . And then my app died,and unitymain always just did this!