Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
141 stars 2 forks source link

Saving cloud home crashes to local 100% of the time #373

Open TiamatKefir opened 1 year ago

TiamatKefir commented 1 year ago

Describe the bug?

Saving world changes to my cloud home crashes me to local, but the world successfully updates and saves the changes.

To Reproduce

Save cloud home. Crash to local.

Expected behavior

Save cloud home. Stay in cloud home.

Screenshots

No response

Resonite Version Number

2023.10.19.620 and below

What Platforms does this occur on?

Windows

What headset if any do you use?

Vive and Desktop

Log Files

I don't feel comfortable sending logs to a publicly viewable forum, but would be more than happy to DM someone with the logs.

Additional Context

No response

Reporters

No response

shiftyscales commented 11 months ago

We require log files in order to understand the source of the crash, @TiamatKefir. Without that, or access to the world, there is no way we have to replicate or understand this issue.

TiamatKefir commented 11 months ago

Yes, I understand, but there is sensitive information in the logs, so if it's possible to DM or redact said info from the logs I would prefer that.

shiftyscales commented 11 months ago

Just please submit as complete a log file as you are able to please, @TiamatKefir.

Start up Resonite, replicate the bug, exit and discard homes, and once the application is closed, send the log file over.

There shouldn't be very much in the way of sensitive info if you make a clean replication log from a fresh launch.

TiamatKefir commented 11 months ago

Here is a fresh launch log, please let me know if I need to do anything else. LAPTOP - 2023.12.13.87 - 2023-12-13 19_54_35(1).log

shiftyscales commented 11 months ago

Relevant exception seems to start at line 1145 in the provided log file, @Frooxius.

7:59:23 PM.321 ( 10 FPS)    Unhandled Exception when updating world: U-User Home. State Running, Refresh Stage: ProtoFluxEvents, Init State: Finished, SyncTick 2404, StateVersion: 4808
Dumped world state to: C:/Users/User/AppData/Local/Temp/Yellow Dog Man Studios/Resonite\Cache\3zt6g94kltphjckc.lz4bson
ProtoFlux.Runtimes.Execution.ExecutionAbortedException: Exception of type 'ProtoFlux.Runtimes.Execution.ExecutionAbortedException' was thrown.
  at ProtoFlux.Runtimes.Execution.ExecutionRuntime`1[C].ExecuteSequence (ProtoFlux.Core.ISyncOperation operation, C context) [0x00023] in <75b0f4ee2dbd4de78d5cd5192e828c70>:0 
  at ProtoFlux.Runtimes.Execution.ExecutionRuntime`1[C].Execute (ProtoFlux.Core.ISyncOperation action, ProtoFlux.Runtimes.Execution.ExecutionContext context) [0x00012] in <75b0f4ee2dbd4de78d5cd5192e828c70>:0 
  at ProtoFlux.Runtimes.Execution.Nodes.FrooxEngine.Physics.ContactEventNode.HandleEvent (FrooxEngine.ProtoFlux.FrooxEngineContext context, System.Object other) [0x00012] in <8306aca58e9347828706da6d68be4cca>:0 
  at ProtoFlux.Runtimes.Execution.ExecutionEventDispatcher`1[C].DispatchEvents (ProtoFlux.Runtimes.Execution.ExecutionRuntime`1[C] runtime, C context) [0x0005b] in <75b0f4ee2dbd4de78d5cd5192e828c70>:0 
  at FrooxEngine.ProtoFlux.ProtoFluxNodeGroup.RunNodeEvents () [0x00030] in <ddb2da503cf64803a3e0929859789238>:0 
  at FrooxEngine.ProtoFlux.ProtoFluxController.RunNodeEvents () [0x0002d] in <ddb2da503cf64803a3e0929859789238>:0 
  at FrooxEngine.World.RefreshStep () [0x003f4] in <ddb2da503cf64803a3e0929859789238>:0 
  at FrooxEngine.World.Refresh () [0x00073] in <ddb2da503cf64803a3e0929859789238>:0 
  at FrooxEngine.WorldManager.UpdateStep () [0x004a3] in <ddb2da503cf64803a3e0929859789238>:0 

  at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0 
  at Elements.Core.UniLog.Error (System.String message, System.Boolean stackTrace) [0x00000] in <dc1f50d54e464278833e7c84ab317ca4>:0 
  at FrooxEngine.WorldManager.UpdateStep () [0x00000] in <ddb2da503cf64803a3e0929859789238>:0 
  at FrooxEngine.WorldManager.RunUpdateLoop () [0x00000] in <ddb2da503cf64803a3e0929859789238>:0 
  at FrooxEngine.Engine.UpdateStep () [0x00000] in <ddb2da503cf64803a3e0929859789238>:0 
  at FrooxEngine.Engine.RunUpdateLoop () [0x00000] in <ddb2da503cf64803a3e0929859789238>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner.UpdateFrooxEngine () [0x00000] in <2b576e66ed694a59a76412d4a40a7000>:0 
  at UnityFrooxEngineRunner.FrooxEngineRunner.Update () [0x00000] in <2b576e66ed694a59a76412d4a40a7000>:0 

Thank you for providing the log file.

What all does your world have in the way of ProtoFlux in it, @TiamatKefir? Based on the exception- it appears that some ProtoFlux you have in the world is causing the issue.

TiamatKefir commented 11 months ago

I've got a handful of things like the Event Calendar, SSTV, Oscilloscope, potions box, and then just the stock cloud home items.

shiftyscales commented 11 months ago

It would be useful if you could determine if any of those items are responsible, @TiamatKefir. E.g. transplanting them into an empty gridspace, trying to save it, and seeing if you can identify which might be responsible for causing the crash.

Of those- I'd think the potions box would be a likely candidate given that the exception posted above makes reference to physics events.