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 (88)

  1. zarachloehazel

    Jul 25, 2024 00:32

    CONTACT THE HACK ANGELS TO RECOVER ALL YOUR LOST CRYPTO/BTC ASSETS

    Please bear in mind that you must exercise caution and take precautions to protect yourself against future scams. One method to accomplish this is to be extremely cautious about the websites you visit and the links you click on. THE HACK ANGELS advised me to avoid disclosing personal or financial information to unfamiliar websites. It is also critical to utilize a secure Bitcoin wallet and keep your private keys protected. You can accomplish this by utilizing a hardware wallet or by keeping your private keys on a piece of paper in a secure location. If you have any queries or concerns about Bitcoin security and the recovery of lost assets, Please do not hesitate to ask THE HACK ANGELS. Reach out now.

    WHatsAP: +1 203,309,3359

  2. zarachloehazel

    Jul 25, 2024 00:32

    CONTACT THE HACK ANGELS TO RECOVER ALL YOUR LOST CRYPTO/BTC ASSETS

    Please bear in mind that you must exercise caution and take precautions to protect yourself against future scams. One method to accomplish this is to be extremely cautious about the websites you visit and the links you click on. THE HACK ANGELS advised me to avoid disclosing personal or financial information to unfamiliar websites. It is also critical to utilize a secure Bitcoin wallet and keep your private keys protected. You can accomplish this by utilizing a hardware wallet or by keeping your private keys on a piece of paper in a secure location. If you have any queries or concerns about Bitcoin security and the recovery of lost assets, Please do not hesitate to ask THE HACK ANGELS. Reach out now.

    WHatsAP: +1 203,309,3359

  3. zarachloehazel

    Jul 25, 2024 00:32

    CONTACT THE HACK ANGELS TO RECOVER ALL YOUR LOST CRYPTO/BTC ASSETS

    Please bear in mind that you must exercise caution and take precautions to protect yourself against future scams. One method to accomplish this is to be extremely cautious about the websites you visit and the links you click on. THE HACK ANGELS advised me to avoid disclosing personal or financial information to unfamiliar websites. It is also critical to utilize a secure Bitcoin wallet and keep your private keys protected. You can accomplish this by utilizing a hardware wallet or by keeping your private keys on a piece of paper in a secure location. If you have any queries or concerns about Bitcoin security and the recovery of lost assets, Please do not hesitate to ask THE HACK ANGELS. Reach out now.

    WHatsAP: +1 203,309,3359

  4. poolaffairs8

    Jul 24, 2024 09:59

    ARE YOU A VICTIM OF INVESTMENT OR NFT SCAM? DO YOU WANT TO INVESTIGATE A CHEATING SPOUSE? DO YOU DESIRE CREDIT REPAIR (ALL BUREAUS)? SCHEDULE A MEETING WITH AN ETHICAL HACKER ASAP TO GET STARTED.

    Let us show you the art of Ethical Hacking….!

    EMERALD HACKS is a financial regulator, PRIVATE investigation and funds recovery body. We specialize in cases as regards ETHICAL HACKING, CRYPTOCURRENCY, FAKE INVESTMENT SCHEMES and RECOVERY SCAM. We are also experts in CREDIT REPAIR, we analyze what’s impacting your score.
    All software tools needed to execute RECOVERIES from start to finish are available in stock.
    Kindly NOTE that the available tools does NOT apply to CREDIT FIX.

    Be ALERT to FALSE reviews and testimonies on the internet, the authors and perpetrators unite to form a syndicate.

    Contact our team as soon as you can via the email address below to book a mail meeting with an ethical hacker.
    emeraldhacks (.) org (@) gmail (.) com

    Stay Safe out there !llii

  5. alexanderlaganmy

    Jul 22, 2024 11:27

    INVESTIGATE AND RECOVER YOUR LOST, SCAMMED OR HACKED BITCOIN GHOST MYSTERY RECOVERY HACKER. WORLDBEST HACKERS IN THE UNITED STATES

    To everyone who has been duped, hacked, or lost bank funds and bitcoins by fraudulent internet investors or hackers who tricked you into making false investments or trading cryptocurrencies, I heartily suggest this book. 90% of the money I lost—$457,000—was retrieved from a phony investment platform after I fell prey to a cryptocurrency fraud. By apprehending the criminals and scammers, my friends who were also defrauded and lost their bank assets are now receiving their money back. Your cash can only be tracked down by GHOST MYSTERY RECOVERY HACKER. Speak with them right now to get your money back.  

     Email address.... (ghostmysteryrecoveryhacker @ seznam.cz)

     WhatsApp: { +1 (9.4.0)..3.5.4 - 3.1.4.3

    Telegram ....... @Ghostmysteryrecoveryhacker  

  6. alexanderlaganmy

    Jul 22, 2024 11:25

    INVESTIGATE AND RECOVER YOUR LOST, SCAMMED OR HACKED BITCOIN GHOST MYSTERY RECOVERY HACKER. WORLDBEST HACKERS IN THE UNITED STATES

    To everyone who has been duped, hacked, or lost bank funds and bitcoins by fraudulent internet investors or hackers who tricked you into making false investments or trading cryptocurrencies, I heartily suggest this book. 90% of the money I lost—$457,000—was retrieved from a phony investment platform after I fell prey to a cryptocurrency fraud. By apprehending the criminals and scammers, my friends who were also defrauded and lost their bank assets are now receiving their money back. Your cash can only be tracked down by GHOST MYSTERY RECOVERY HACKER. Speak with them right now to get your money back.  

     Email address.... (ghostmysteryrecoveryhacker @ seznam.cz)

     WhatsApp: { +1 (9.4.0)..3.5.4 - 3.1.4.3

    Telegram ....... @Ghostmysteryrecoveryhacker  

  7. starzkelvin5

    Jul 08, 2024 12:10

    Ladies and gentlemen, I must warn you that the internet isn't quite a safe place now, as consistent research has found out that 62.24% of people you interact with on the net do not exist. Hence, you must trade with caution. For this reason, FUNDS RECOVERY CHAMBERS was founded in the year 1999 and ever since the have been trending for successfully carrying out various hacking jobs, also i was a victim of fake broker and i used them to recovery my funds , Let me give you a little story of what happen to me, I invested about $485,000 on a binary option platform then I decided to withdraw after several weeks but the withdrawal wasn’t successful, then I tried to contact the platform via email and phone number, I didn’t get a response from them that was when everything started looking weird. Some weeks later I got a mail from them insisting I should invest more money if I want to withdraw my money which I rejected, and I never hear from them again that was when I knew I had been scammed. I was really devastated at those moment and felt so bad that my hard earned money was gone. After some months I came across a lot of testimonies on the web how fundsrecoverychambers at gmail dot com had helped many people recovered their stolen coin , scammed or duped money on bitcoin or any other form in digital currency. I contacted them and they promised to help me get my money back asked me some info about the scammer which I provided. The result was amazing I recovered all my stolen money back. I was so happy, thank you so much FUNDS RECOVERY CHAMBERS the are real deal, the were able to remotely recover my funds back. You can also contact them on fundsrecoverychambers at gmail dot com

  8. anders88594

    Jul 06, 2024 06:28

    My name is Anderson Gate and I’m a professional photographer who invested in crypto trading and was conned of my hard-earned money by a crypto group. I lost $273,000 worth of Bitcoin to this scam. I was nearly losing my mind when I came across FIRMWALL Cyber Security, an ethical recovery company with professional white hat hackers who were able to assist me in the recovery of my crypto. I’m truly grateful for their service and I recommend their service to everyone who needs to recover their stolen crypto funds.
    You can contact them via Email: Firmwallcyber@techie . Com 
    Telegram: @Firmwallcyber (+1 213 672 4092 )
    URL-(https:// firmwallcyber.wixsite.com/firmwall)

  9. eleanorlunaaudrey

    Jul 04, 2024 21:55

    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:53

    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.