• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Won't fix [REQ/General Bugs] Save temp scene before writing crash dump.

uqone

New member
Joined
Mar 4, 2021
Messages
16
Reactions
4
I just spent 6 hours building a scene, only to have unity crash to desktop due to a physics CUA. Not a big deal, it was a complex scene, and this sort of stuff happens with unity.

It wrote a crash dump before closing, which made me wonder, could a call to save scene code be made before the dump to save a new temp (random/whatever named) file to saves/scene? If the call is put within a try/catch it should be at least possible to attempt to add some point of recovery, I would assume. Even a partially corrupt scene would be better then loosing everything.

I would think almost every user of vam would have lost work, maybe this could be avoided fairly easily? Even if the save has issues not allowing for loading the temp scene, it's json, so manual editing in notepad could fix this.

Anyway, just a thought. May save many headaches, if the code can be called after a crash.
 
I'm not able to trap anything before a Unity hard crash like that so I can't fix this.
 
Back
Top Bottom