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

  1. akhmetshinaelena379

    Mar 14, 2024 11:47

    Hire A Reputable Crypto Recovery Agent WIZARD MARK HACKER.
    My name is ELENA from ASTANA, I'm a content manager residing in Russia. Last month, I was duped online when I was introduced to a cryptocurrency trading website by an international broker on the internet, as he claimed to be. He persuaded me till I agreed to invest $260,000 with him. When my account reached a profit of $690,000, it was frozen, and I was asked to pay a large tax to enable my withdrawals. Until I had to realize that I was being scammed. I decided to look for a bitcoin expert on Google. During my study, I came across Wizard Mark Hacker, a reputable hacker with special cyber skills required to recover lost funds. I contacted Wizard Mark Hacker and appealed to him for assistance to help me recover my funds. His service was excellent and I will continue to share this wonderful news everywhere. I wholeheartedly suggest him to anyone who has been duped out of their funds. Contact him for any help on; Website (h t t p s : / / w i z a r d m a r k r e c o v e r y . w e b . a p p)
    ( E m a i l : w i z a r d m a r k r e c o v e r y @ g m a i l . com or WhatsApp number + 3 9 3 5 0 9 2 3 1 7 5 6 Telegram @ Hackerwizard

  2. akhmetshinaelena379

    Mar 14, 2024 11:41

    Hire A Reputable Crypto Recovery Agent WIZARD MARK HACKER.
    My name is ELENA from ASTANA, I'm a content manager residing in Russia. Last month, I was duped online when I was introduced to a cryptocurrency trading website by an international broker on the internet, as he claimed to be. He persuaded me till I agreed to invest $260,000 with him. When my account reached a profit of $690,000, it was frozen, and I was asked to pay a large tax to enable my withdrawals. Until I had to realize that I was being scammed. I decided to look for a bitcoin expert on Google. During my study, I came across Wizard Mark Hacker, a reputable hacker with special cyber skills required to recover lost funds. I contacted Wizard Mark Hacker and appealed to him for assistance to help me recover my funds. His service was excellent and I will continue to share this wonderful news everywhere. I wholeheartedly suggest him to anyone who has been duped out of their funds. Contact him for any help on; Website (h t t p s : / / w i z a r d m a r k r e c o v e r y . w e b . a p p)
    ( E m a i l : w i z a r d m a r k r e c o v e r y @ g m a i l . com or WhatsApp number + 3 9 3 5 0 9 2 3 1 7 5 6 Telegram @ Hackerwizard

  3. akhmetshinaelena379

    Mar 14, 2024 11:40

    Hire A Reputable Crypto Recovery Agent WIZARD MARK HACKER.
    My name is ELENA from ASTANA, I'm a content manager residing in Russia. Last month, I was duped online when I was introduced to a cryptocurrency trading website by an international broker on the internet, as he claimed to be. He persuaded me till I agreed to invest $260,000 with him. When my account reached a profit of $690,000, it was frozen, and I was asked to pay a large tax to enable my withdrawals. Until I had to realize that I was being scammed. I decided to look for a bitcoin expert on Google. During my study, I came across Wizard Mark Hacker, a reputable hacker with special cyber skills required to recover lost funds. I contacted Wizard Mark Hacker and appealed to him for assistance to help me recover my funds. His service was excellent and I will continue to share this wonderful news everywhere. I wholeheartedly suggest him to anyone who has been duped out of their funds. Contact him for any help on; Website (h t t p s : / / w i z a r d m a r k r e c o v e r y . w e b . a p p)
    ( E m a i l : w i z a r d m a r k r e c o v e r y @ g m a i l . com or WhatsApp number + 3 9 3 5 0 9 2 3 1 7 5 6 Telegram @ Hackerwizard

  4. anastaciajoaquin19

    Mar 06, 2024 20:05

    I was once lured into a crypto currency investment platform that I came across on Instagram. I lost about $508,000 to this evil scheme after I invested and accumulated profits, I was denied withdrawals on the specified date. I wrote to the customer support but I was given no feedback, I knew I had been scammed and I started to search for a way to recover my crypto.. I considered myself fortunate that I stumbled upon a post on the internet web about a Recovery Expert Jeanson James Ancheta wizard. I would highly recommend Jeanson James Ancheta wizard agent to anyone who wants to recover their lost funds from any scam. He is the best in the business and will do anything possible to help you get your money back. I never thought it would be possible to get back crypto once it is sent but I'm super happy and grateful for the services of Jeanson James Ancheta wizard. Kindly reach out to him if you need any help.(jeansonjamesanchetawizard62 @ gmail . com) or WhatsApp number: +44 (7440) 105166 or +44 (7506) 216101.

  5. vallis68799

    Mar 06, 2024 13:47

    I lost my entire savings to a fake crypto investment scam while I was looking for a way to double my savings. After many weeks of trying to find a way to get my money back with no success, I finally came across a crypto recovery company Firmwall Cyber Security Service, that is a reliable and trustworthy crypto recovery company. Firmwall Cyber Security Company was able to help me recover my entire stolen crypto and helped me trace the con men. I’m grateful for the intervention of Firmwall Cyber Security. I was able to get back my money and the address of the con men was revealed to me which I gave to the authorities who apprehended them. Thank you Firmwall Cyber Security Service for your help and support. You can reach Firmwall Cyber Security via the following

    FIRMWALLCYBER@TECHIE .COM

  6. vallis68799

    Mar 06, 2024 13:47

    I lost my entire savings to a fake crypto investment scam while I was looking for a way to double my savings. After many weeks of trying to find a way to get my money back with no success, I finally came across a crypto recovery company Firmwall Cyber Security Service, that is a reliable and trustworthy crypto recovery company. Firmwall Cyber Security Company was able to help me recover my entire stolen crypto and helped me trace the con men. I’m grateful for the intervention of Firmwall Cyber Security. I was able to get back my money and the address of the con men was revealed to me which I gave to the authorities who apprehended them. Thank you Firmwall Cyber Security Service for your help and support. You can reach Firmwall Cyber Security via the following

    FIRMWALLCYBER@TECHIE. COM

  7. anastaciajoaquin19

    Feb 21, 2024 10:51

    I was once lured into a crypto currency investment platform that I came across on Instagram. I lost about $508,000 to this evil scheme after I invested and accumulated profits, I was denied withdrawals on the specified date. I wrote to the customer support but I was given no feedback, I knew I had been scammed and I started to search for a way to recover my crypto.. I considered myself fortunate that I stumbled upon a post on the internet web about a Recovery Expert Jeanson James Ancheta wizard. I would highly recommend Jeanson James Ancheta wizard agent to anyone who wants to recover their lost funds from any scam. He is the best in the business and will do anything possible to help you get your money back. I never thought it would be possible to get back crypto once it is sent but I'm super happy and grateful for the services of Jeanson James Ancheta wizard. Kindly reach out to him if you need any help.(jeansonjamesanchetawizard62 (@) gmail (.) com) or WhatsApp number: +44 (7440) 105166 or +44 (7506) 216101.

  8. tradeprecinct

    Feb 20, 2024 16:02

    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 !

  9. mmahelt93

    Feb 09, 2024 13:39

    Many fake crypto trading platforms have successfully managed to con victims of their hard-earned money. A few weeks ago, I was contacted by a crypto trader on Instagram who claimed to be a manager on a trading platform, he convinced me to invest my money into crypto mining hoping to make huge profits from it, I was convinced when I saw my account balance on their platform, but when I wanted to withdraw my earnings, they kept requesting for money for tax and other unnecessary fees. I realized then that I was being catfished, I stopped all communication and went to the internet to do my research about crypto when I came across Firmwall Cyber Security Service, a well reliable crypto recovery company, I was very pleased with the reviews I saw about this crypto recovery company and I contacted them to assist me to recover my crypto, I gave them all the information and within a few hours, Firmwall Cyber Security was able to recover my crypto assets. I’m truly grateful for their service and I highly recommend them

    E-mail = Firmwallcyber@techie. com
    Whats App = + 1 937 542 0667

  10. allendave694

    Jan 05, 2024 02:42

    Highly Recommended!
    Very insightful, i will also say this here. Investment is one of the best ways to achieve financial freedom. For a beginner there are so many challenges you face. It's hard to know how to get started. Trading on the Cryptocurrency market has really been a life changer for me. I almost gave up on crypto at some point not until saw a recommendation on Elon musk successfully success story and I got a proficient trader/broker Mr Bernie Doran , he gave me all the information required to succeed in trading. I made more profit than I could ever imagine. I'm not here to converse much but to share my testimony; I have made total returns of $10,500.00 from an investment of just $1000.00 within 1 week. Thanks to Mr Bernie I'm really grateful,I have been able to make a great returns trading with his signals and strategies .I urge anyone interested in INVESTMENT to take bold step in investing in the Cryptocurrency Market, you can reach him Gmail : BERNIEDORANSIGNALS GMAIL COM bitcoin is taking over the world, tell him I referred you

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.