Search Issue Tracker

Won't Fix

Votes

41

Found in

2022.3.16f1

2023.2.4f1

2023.3.0b1

Issue ID

UUM-59652

Regression

No

Crash on TransformAccessClearCallback when undoing ModularAvatar > Setup Outfit

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/scene.unity” Scene
3. Right-click “test“ GameObject (shapell > test)
4. Select ModularAvatar > Setup Outfit
5. Press CTRL + Z
6. Repeat steps 3 - 5

Expected result: Editor does not crash and continues to run
Actual result: Editor crashes

Reproducible with: 2022.3.16f1, 2023.2.4f1, 2023.3.0b1
Could not test with: 2021.3.33f1 (No ModularAvatar option)

Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested

Note:
- Modular Avatar is a 3rd party plugin

  1. Resolution Note:

    The crash in TransformAccessClearCallback comes from TransformAccess data that was saved into Undo being changed without updating the Undo System. This happens during a call to a user function called RebuildLock called after the undo data has been finalised. When attempting to undo, none of the relevant Transforms exist any more and clearing/applying the serialised data regarding those Transforms fails.

    Any code where new objects are created but not explicitly saved into the Undo System cannot be considered fully undoable. Additionally the Undo System cannot be expected to recover gracefully when the data it was provided is incomplete or incorrect, it is simply pointing to invalid memory once something changes without it being informed.

    In this case the constructor OnewayArmatureLock creates hundreds of unsaved Transforms and then baseBonesAccessor is switched to this list, making the TransformAccessArray data that was saved to the Undo System invalid.

    The crash described can be avoided by registering all the 'baseBone' Transforms using Undo.RegisterCreatedObjectUndo(baseBone, "") to ensure that the Transforms referred to in the TransformAccessArray contained in the Undo action still exist.

    Alternatively if the _baseBonesAccessor TransformAccessArray is disposed using _baseBonesAccessor.Dispose() before being directly overwritten the memory is cleared correctly and the Undo system is updated accordingly.

Comments (75)

  1. eleanorlunaaudrey

    Jul 04, 2024 21:50

    THANKS TO THE HACK ANGELS I MANAGED TO RECOVER ALL MY LOST CRYPTOCURRENCY.

    Due to the abundance of online investing opportunities in the digital age, there is always a risk of becoming a victim of fraudulent schemes. One such case is the potentially upsetting and financially disastrous loss of USDT (Tether) to a fraudulent investment company. But there is still hope since you may be able to retrieve your assets by getting in touch with THE HACK ANGEL, a well-known specialist in tracking down and recovering misplaced money. This essay will examine the significance of contacting THE HACK ANGEL for help in locating misplaced USDT, the procedures involved in the recovery procedure, and the enormous implications of locating the cash successfully. CONTACT INFO
    WHatsAP: +1 203,309,3359

  2. eleanorlunaaudrey

    Jul 04, 2024 21:50

    THANKS TO THE HACK ANGELS I MANAGED TO RECOVER ALL MY LOST CRYPTOCURRENCY.

    Due to the abundance of online investing opportunities in the digital age, there is always a risk of becoming a victim of fraudulent schemes. One such case is the potentially upsetting and financially disastrous loss of USDT (Tether) to a fraudulent investment company. But there is still hope since you may be able to retrieve your assets by getting in touch with THE HACK ANGEL, a well-known specialist in tracking down and recovering misplaced money. This essay will examine the significance of contacting THE HACK ANGEL for help in locating misplaced USDT, the procedures involved in the recovery procedure, and the enormous implications of locating the cash successfully. CONTACT INFO
    WHatsAP: +1 203,309,3359

  3. eleanorlunaaudrey

    Jul 04, 2024 21:49

    THANKS TO THE HACK ANGELS I MANAGED TO RECOVER ALL MY LOST CRYPTOCURRENCY.

    Due to the abundance of online investing opportunities in the digital age, there is always a risk of becoming a victim of fraudulent schemes. One such case is the potentially upsetting and financially disastrous loss of USDT (Tether) to a fraudulent investment company. But there is still hope since you may be able to retrieve your assets by getting in touch with THE HACK ANGEL, a well-known specialist in tracking down and recovering misplaced money. This essay will examine the significance of contacting THE HACK ANGEL for help in locating misplaced USDT, the procedures involved in the recovery procedure, and the enormous implications of locating the cash successfully. CONTACT INFO
    WHatsAP: +1 203,309,3359

  4. eleanorlunaaudrey

    Jul 04, 2024 21:48

    THANKS TO THE HACK ANGELS I MANAGED TO RECOVER ALL MY LOST CRYPTOCURRENCY.

    Due to the abundance of online investing opportunities in the digital age, there is always a risk of becoming a victim of fraudulent schemes. One such case is the potentially upsetting and financially disastrous loss of USDT (Tether) to a fraudulent investment company. But there is still hope since you may be able to retrieve your assets by getting in touch with THE HACK ANGEL, a well-known specialist in tracking down and recovering misplaced money. This essay will examine the significance of contacting THE HACK ANGEL for help in locating misplaced USDT, the procedures involved in the recovery procedure, and the enormous implications of locating the cash successfully. CONTACT INFO
    WHatsAP: +1 203,309,3359

  5. eleanorlunaaudrey

    Jul 04, 2024 21:48

    THANKS TO THE HACK ANGELS I MANAGED TO RECOVER ALL MY LOST CRYPTOCURRENCY.

    Due to the abundance of online investing opportunities in the digital age, there is always a risk of becoming a victim of fraudulent schemes. One such case is the potentially upsetting and financially disastrous loss of USDT (Tether) to a fraudulent investment company. But there is still hope since you may be able to retrieve your assets by getting in touch with THE HACK ANGEL, a well-known specialist in tracking down and recovering misplaced money. This essay will examine the significance of contacting THE HACK ANGEL for help in locating misplaced USDT, the procedures involved in the recovery procedure, and the enormous implications of locating the cash successfully. CONTACT INFO
    WHatsAP: +1 203,309,3359

  6. eleanorlunaaudrey

    Jul 04, 2024 21:48

    THANKS TO THE HACK ANGELS I MANAGED TO RECOVER ALL MY LOST CRYPTOCURRENCY.

    Due to the abundance of online investing opportunities in the digital age, there is always a risk of becoming a victim of fraudulent schemes. One such case is the potentially upsetting and financially disastrous loss of USDT (Tether) to a fraudulent investment company. But there is still hope since you may be able to retrieve your assets by getting in touch with THE HACK ANGEL, a well-known specialist in tracking down and recovering misplaced money. This essay will examine the significance of contacting THE HACK ANGEL for help in locating misplaced USDT, the procedures involved in the recovery procedure, and the enormous implications of locating the cash successfully. CONTACT INFO
    WHatsAP: +1 203,309,3359

  7. eleanorlunaaudrey

    Jul 04, 2024 21:47

    THANKS TO THE HACK ANGELS I MANAGED TO RECOVER ALL MY LOST CRYPTOCURRENCY.

    Due to the abundance of online investing opportunities in the digital age, there is always a risk of becoming a victim of fraudulent schemes. One such case is the potentially upsetting and financially disastrous loss of USDT (Tether) to a fraudulent investment company. But there is still hope since you may be able to retrieve your assets by getting in touch with THE HACK ANGEL, a well-known specialist in tracking down and recovering misplaced money. This essay will examine the significance of contacting THE HACK ANGEL for help in locating misplaced USDT, the procedures involved in the recovery procedure, and the enormous implications of locating the cash successfully. CONTACT INFO
    WHatsAP: +1 203,309,3359

  8. eleanorlunaaudrey

    Jul 04, 2024 21:47

    THANKS TO THE HACK ANGELS I MANAGED TO RECOVER ALL MY LOST CRYPTOCURRENCY.

    Due to the abundance of online investing opportunities in the digital age, there is always a risk of becoming a victim of fraudulent schemes. One such case is the potentially upsetting and financially disastrous loss of USDT (Tether) to a fraudulent investment company. But there is still hope since you may be able to retrieve your assets by getting in touch with THE HACK ANGEL, a well-known specialist in tracking down and recovering misplaced money. This essay will examine the significance of contacting THE HACK ANGEL for help in locating misplaced USDT, the procedures involved in the recovery procedure, and the enormous implications of locating the cash successfully. CONTACT INFO
    WHatsAP: +1 203,309,3359

  9. eleanorlunaaudrey

    Jul 04, 2024 21:47

    THANKS TO THE HACK ANGELS I MANAGED TO RECOVER ALL MY LOST CRYPTOCURRENCY.

    Due to the abundance of online investing opportunities in the digital age, there is always a risk of becoming a victim of fraudulent schemes. One such case is the potentially upsetting and financially disastrous loss of USDT (Tether) to a fraudulent investment company. But there is still hope since you may be able to retrieve your assets by getting in touch with THE HACK ANGEL, a well-known specialist in tracking down and recovering misplaced money. This essay will examine the significance of contacting THE HACK ANGEL for help in locating misplaced USDT, the procedures involved in the recovery procedure, and the enormous implications of locating the cash successfully. CONTACT INFO
    WHatsAP: +1 203,309,3359

  10. eleanorlunaaudrey

    Jul 04, 2024 21:46

    THANKS TO THE HACK ANGELS I MANAGED TO RECOVER ALL MY LOST CRYPTOCURRENCY.

    Due to the abundance of online investing opportunities in the digital age, there is always a risk of becoming a victim of fraudulent schemes. One such case is the potentially upsetting and financially disastrous loss of USDT (Tether) to a fraudulent investment company. But there is still hope since you may be able to retrieve your assets by getting in touch with THE HACK ANGEL, a well-known specialist in tracking down and recovering misplaced money. This essay will examine the significance of contacting THE HACK ANGEL for help in locating misplaced USDT, the procedures involved in the recovery procedure, and the enormous implications of locating the cash successfully. CONTACT INFO
    WHatsAP: +1 203,309,3359

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.