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

  1. gracejosephau

    Jun 24, 2024 11:43

    WORKING WITH OPTIMISTIC HACKER GAIUS / RESTORING LOST CRYPTOCURRENCY

    It is causing victims among people. I'm thrilled to tell you about my amazing experience working with OPTIMISTIC HACKER GAIUS, a recovery company. I put $155,000 into a fictitious venture. following being a victim. I didn't know whether I would ever see my hard-earned money again, and I was devastated. I'm glad that OPTIMISTIC HACKER GAIUS, who assisted me in getting my Bitcoin back, was discovered on Google. How OPTIMISTIC HACKER GAIUS helped me get my lost cryptocurrency back is something I will never forget. I never would have thought it was possible to recover cryptocurrency. For anyone who is in a similar situation, I suggest OPTIMISTIC HACKER GAIUS. their everlasting dedication to the welfare of their clients and their unmatched proficiency in cryptocurrency recovery. You can get in contact with them using

    WhatsApp.: +1..6..0..1..4..6..0..9..4..7..7

    email… optimistichackergaius @ seznam.cz

    They rank is one of the best recovery companies in the worldwide

  2. davidryan1539

    Jun 20, 2024 20:43

    I’ll advice you to use the services of a reliable IT expert / Recovery expert to help you retrieve all your lost or stolen bitcoin on the bitcoin network from scam brokers and fake investment platforms (Websites, blogs and forums). Her services are outstanding and you can contact him at Lisatheo225 @gmail com Perfectly quintessential service. She can help you track and monitor a suspected cheating spouse.. She can help you recover all stolen and lost funds. recovery is the real deal.

  3. jamescampbellmia

    Jun 18, 2024 07:13

    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     

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

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

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

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

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

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

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

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.