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

  1. leilacohan04

    Sep 09, 2024 11:10

    CONTACT CYBERETRIEVE TO LEARN HOW TO RETRIEVE A STOLEN BTC,USDT,OR ETH.
    How much longer will you have to wait for the recovery of your stolen funds?How many recovery specialists have you contacted in an attempt to get your stolen money back?As a victim of a fraud,I also lost $456k in cryptocurrency to a phony bitcoin broker.Regaining what I had lost wasn't simple,but it was possible,particularly after reading a review about CYBERETRIEVE.I received assistance when I contacted them at cyberetrieve@mail. com,which is their official email address.Other contact information are:
    Telegram:@cyberetrieve

  2. milanobjorn0

    Sep 02, 2024 03:01

    The specialize in cases as regards ETHICAL HACKING, CRYPTOCURRENCY, FAKE INVESTMENT SCHEMES and Funds RECOVERY . We are also experts in CREDIT REPAIR, we analyze what’s impacting your score.

    I just have to testify about this here and let everyone know how much better I feel right now. I had over $790k in bitcoin Lost to a fake investor online that I came across last three mouths through a colleague of mine at work which also lost her investment along the line though she has been investing with the company for months too and been paid out severally before this happened tried reaching the team but did not get any feedback for several weeks, at some point I thought about getting a hacker to see if that will help and then I read about a team called Schwartz Software Hackers Services. They helped people retrieve their lost funds in investment or even stolen from their bank accounts. I reached out to him without hesitating and the outcome was wonderful. After retrieving the whole money he also worked for my colleague and is in the final stage of retrieving the last investment she made. Thank you for the heroic work you do for the helpless and hopeless. If you find it hard to reach him through email then contact him through

    Email: schwartzsoftwarehackingprogram at gmail dot com

  3. milanobjorn0

    Sep 02, 2024 03:00

    Reclaiming Your Stolen Crypto: A Successful Recovery with Schwartz Recovery Hackers Services

    Schwartz Software Hackers Services. They helped people retrieve their lost funds in investment or even stolen from their bank accounts. I reached out to him without hesitating and the outcome was wonderful. After retrieving the whole money he also worked for my colleague and is in the final stage of retrieving the last investment she made. Thank you for the heroic work you do for the helpless and hopeless. If you find it hard to reach him through email then contact him through

    Email: schwartzsoftwarehackingprogram at gmail dot com

  4. karenblakes6543

    Aug 26, 2024 08:33

    I felt compelled to share my positive experience with CIPHER BLADE RECOVERY as it exceeded all my expectations. They are undoubtedly a trusted partner in the field of bitcoin recovery and can provide invaluable legal advice on how to proceed in similar situations. Therefore, I highly recommend reaching out to them if you find yourself in need of assistance or guidance.

    To contact CIPHER BLADE RECOVERY and explore how they can help with your bitcoin recovery or legal inquiries. Telegram:cipherbladerecoveryltd/ CipherBbladerecovery @ proton.me Their team of recovery specialists is readily available and responsive to address your concerns.

  5. herstondetty

    Aug 23, 2024 11:49

    I made an initial investment of roughly $380,000 on a Coastal Trading Options. After several transactions, I chose to withdraw my money because according to the website I had made a lot of profits, however the withdrawal was unsuccessful. I made several attempts in contacting them but it all failed. I made every effort and filed a report to recover my money by contacting the police department in charge of investigating fraudulent situations, but nothing was successful. Since my attempt with the police failed, I tried other possible means to make sure I recovered my scammed bitcoin. I reached out to a hacker whose reviews I had read online; Recovery Nerds, I contacted him via his email on: mailus @ recoverynerds . com He came in handy and at the right time. He rescued me from these shady investment schemes with the help of their top-notch services. I got my funds back as well as my peace of mind.

  6. dormaelsb

    Aug 21, 2024 10:01

    There are lot and lots of scammers boasting and claiming to have recover hacked bitcoin,stolen funds etc,they will collect your money and do nothing,thats why you need to be careful and also apply high level of smartness when doing your research or looking for a legitmate recovery company to help you out.Im not here to advertise anything but just doing you a favour of introducing to you a legitmate recovery company.Have a chance of recovering your lost,stolen hacked bitcon wallet with the help of CYBERETRIEVE Im testifying this out of experience they helped me in recovering more than 70% 0f money I lost to an investment scam reach out to them through:
    Telegram:@cyberetrieve
    Email:cyberetrieve@mail. com

  7. gunterjohn593

    Aug 14, 2024 23:03

    NO UPFRONT PAYMENTS 
    After falling for the tricks of fake investors who promised quick withdrawal and failed, I was finally able to recover my money with the help of mr BRUCE from {RECOVERMYLOSS} However, I was shocked at how quick this process was completed. I was informed as to the urgency of completing my case in time but I did not expect my funds in less than a week. It felt unreal when I was told my funds had been recovered until I received them in my wallet address. Is every recovery this fast? I believe the experience of these team is instrumental in delivering quality service in time.
    RECOVERMYLOSS000 art GMAIL dot COM
    whatsapp:+1 {747} 361 3622
    101 N BRAND BLVD. 
    11TH FLOOR GLENDALE CALIFORNIA 91203.

  8. gunterjohn593

    Aug 14, 2024 23:03

    NO UPFRONT PAYMENTS 
    After falling for the tricks of fake investors who promised quick withdrawal and failed, I was finally able to recover my money with the help of mr BRUCE from {RECOVERMYLOSS} However, I was shocked at how quick this process was completed. I was informed as to the urgency of completing my case in time but I did not expect my funds in less than a week. It felt unreal when I was told my funds had been recovered until I received them in my wallet address. Is every recovery this fast? I believe the experience of these team is instrumental in delivering quality service in time.
    RECOVERMYLOSS000 art GMAIL dot COM
    whatsapp:+1 {747} 361 3622
    101 N BRAND BLVD. 
    11TH FLOOR GLENDALE CALIFORNIA 91203.

  9. janelucy11023

    Aug 06, 2024 21:57

    I invested online to an option broker, I find my self in a difficult situation where I could not get my investment funds out all access to make withdrawal was blocked, I had to file a case report to a cyber Security agent called gavin ray who help me recover Back my asset on his mail gavinray78 gmail com

  10. karacampbell019

    Aug 04, 2024 15:23

    I'm suggesting the safest and most dependable cryptocurrency recovery solution to assist you.CYBERETRIEVE is the name.When I misplaced my wallet in may,it was incredibly helpful to me.Since I was still learning about cryptocurrencies,I invested almost all of my money.I traded and invested on a platform and lost $200,000 USD.The trading system stopped letting me take money out of my wallet in may,but I was still required to pay a number of costs,including tax,membership,card,and withdrawal fees,as well as account reactivation fees.After some time,I discovered numerous testimonials on various cryptocurrency websites detailing how CYBERETRIEVE assisted numerous individuals in getting their stolen,conned,or lost money using bitcoin or any other cryptocurrency.When I reached out to them,they assisted me in retrieveing my lost money back,I recommend CYBERETRIEVE for crypto recovery if you are a scam victim.Reach out to them via
    TELEGRAM:@cyberetrieve
    EMAIL:cyberetrieve@mail . 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.