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

    Sep 12, 2024 21:12

    RECOVER YOUR LOST FUNDS WITH CYBERETRIEVE
    I lost $70,938 worth of bitcoin to fraudulent blockchain impersonators on facebook.They pretended to be blockchain officials,and I foolishly fell for their cunning scheme.This allowed them to access my wallet and stole $70,938 worth of bitcoin in total.I was nearly in shock since I had all of my savings invested in this while I waited for the bitcoin rate to rise. After that,a friend suggested that I see a specialist.I looked it up online and discovered the recovery specialist,whose email address is cyberetrieve@mail. com.I communicated my loss to the specialist directly through letter.He therefore assisted me in getting back 85% of my bitcoin in less than 72 hours.He assisted me in starting the recovery program.,and the guilty parties were found as well,all because of his knowledge.I hope that I was also able to assist someone.For assistance in recovering your lost money from any kind of online scam,get in touch with the recovery professional via;
    Telegram:@cyberetrieve
    Email:cyberetrieve@mail. com

  2. milanobjorn0

    Sep 11, 2024 20:17

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

    Email: schwartzsoftwarehackingprogram at gmail dot com

  3. Excel_carl

    Sep 11, 2024 11:42

    It's been 9 years since i have been working here in the United State as a Nurse, I always like using Instagram to while away time for myself and I came in contact with a guy called Qin on Instagram he's Asian american, the guy was really awesome and he told me he was into broker trading that I could invest little with $5,000 and within a year i will have enough to buy myself a home and a hospital, so i decided to invest but after 8 months I tried to withdraw and i was asked for more and all this while he encouraged me to keep investing and i had already invested 206k USD with him on his broker platform and we started dating so that really makes me confident in him but it was too late to know I have been scammed after he successfully reap me and put me in a debt of $459k. The night I was to end it all I came across an article online about jamesmckaywizard on how him and his team have been helping people like myself who have been a victim of scam or online blackmail, i didn't hesitate but took my time to ask about him from those people testifying about him. After which I contacted them firstly, they talked to me and i was calm and he asked me about all the transaction details which i gave them' in less than 48hrs my hope to life was fully restored back i got all the money and interest which i invested and also Mr. Qin was traced and arrested. I strongly recommend them to anyone in need, this is the right platform for you, you can reach out to them on // jamesmckaywizard at gmail dot com or WhatsApp + 3 1 6 2 2 6 4 7 7 5 0.

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

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

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

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

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

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

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

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.