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. jamescampbellmia

    Jun 18, 2024 07:12

    How do I Recover Scammed Cryptocurrency – Go through OPTIMISTIC HACKER GAIUS
      
    To recover cryptocurrency that has been acquired fraudulently, it is imperative to seek professional assistance. Among the many benefits of hiring a professional hacker like OPTIMISTIC HACKER GAIUS is their in-depth understanding of cryptocurrency recovery techniques.

    OPTIMISTIC HACKER GAIUS can effectively handle the difficulties of recovering misplaced money because they are knowledgeable about blockchain technology and cryptocurrency transactions.
    Contact Below:

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

    WhatsApp: +1 (6,0,1) 4,6,0 - 9,4,7,7

    Website: ht tps://optimistichackegaius. com    

  2. jamescampbellmia

    Jun 18, 2024 07:12

    How do I Recover Scammed Cryptocurrency – Go through OPTIMISTIC HACKER GAIUS
      
    To recover cryptocurrency that has been acquired fraudulently, it is imperative to seek professional assistance. Among the many benefits of hiring a professional hacker like OPTIMISTIC HACKER GAIUS is their in-depth understanding of cryptocurrency recovery techniques.

    OPTIMISTIC HACKER GAIUS can effectively handle the difficulties of recovering misplaced money because they are knowledgeable about blockchain technology and cryptocurrency transactions.
    Contact Below:

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

    WhatsApp: +1 (6,0,1) 4,6,0 - 9,4,7,7

    Website: ht tps://optimistichackegaius. com    

  3. janewillie

    Jun 12, 2024 06:42

    HIRE A LEGITIMATE CRYPTO RECOVERY COMPANY -->REVENANT CYBER HACKER
    Revenant Cyber Hacker has done an incredible testimony that keeps on trending in the heart of everyone who has been able to benefit from its service of funds recovery or mobile remote spy authorization, just like having the key to someone's heart, getting back lost property or finance is a very joyful wonderous moment well deserve to be celebrated, we lose $861,899.11USD, we lent higher part of that money with the hope of paying it in a short while simply because we were told that our investment is insured and profit is guaranteed.
    Email: revenantcyberhacker (AT) Gmail (dot) com
    website: https://revenantcyberhacker (dot) net
    TELEGRAM: @ revenantcyberhacker

  4. watsonbull484

    May 24, 2024 22:13

    Greetings to everyone who gets to read this, I promised I was going to post a review about them & well I have always used Kalfjohnson424 @gmail com for any Private online investigations. Have you ever needed an expert when it comes to hacking? Have you ever wanted to hack someone’s email account? Recover lost accounts, school grades, boost credit score? Do you need to find a person’s sensitive information? Do you want to invade a person’s PayPal, Skrill, Amazon, Facebook, or any other site account? Upgrade of University Grades, Password, and email Retrieval, phone Lines monitoring, Skype Accounts, Hack Social Network, Trace calls on real-time conversations, Remove Criminal Records, Credit Fixing, cyber-crime investigation., Identification of Cheating Partner or employee, Search no more because Kalfjohnson424 @ gmail . Com is your go to contact.

  5. 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

  6. 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

  7. 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

  8. 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.

  9. 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

  10. 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

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.