Open Khawn2u opened 8 months ago
@Khawn2u could you do a reproduction and provide a clean log?
This would ensure that the log is clean of random stuff and just shows the reproduction of the bug.
Actually, here's my repro log: VIXEN - 2023.10.13.743 - 2023-10-14 14_57_06.log
This can still be replicated on the latest build.
SHIFTY-LAPTOP - 2024.2.12.1430 - 2024-02-28 13_27_20.log
Relevant exception seems to be:
1:28:37 PM.609 (120 FPS) Unhandled Exception when updating world: Shifty World. State Running, Refresh Stage: ProtoFluxContinuousChanges, Init State: Finished, SyncTick 3119, StateVersion: 6238
Dumped world state to: C:\Users\Laura\QC\Test\Cache\Cache\txb4xwajpsixuvws.lz4bson
System.ArgumentException: Invalid Raycast. Origin: [-2.112835; 1.750593; -0.6095961], Direction: [0; 0; 0], MaxDistance: 3.402823E+38
at FrooxEngine.PhysicsManager.RaycastOne (Elements.Core.float3& origin, Elements.Core.float3& direction, System.Single maxDistance, System.Predicate`1[T] filter, System.Boolean hitTriggers, System.Nullable`1[T] debugDuration) [0x00031] in <6450ba452eef4b15a58558870451eee7>:0
at FrooxEngine.PhysicsManager.RaycastOne (Elements.Core.float3& origin, Elements.Core.float3& direction, System.Predicate`1[T] filter, System.Boolean hitTriggers, System.Nullable`1[T] debugDuration) [0x00000] in <6450ba452eef4b15a58558870451eee7>:0
at FrooxEngine.Tool.GetHit () [0x00049] in <6450ba452eef4b15a58558870451eee7>:0
at FrooxEngine.RawDataTool.GetCurrentHit () [0x00000] in <6450ba452eef4b15a58558870451eee7>:0
at ProtoFlux.Runtimes.Execution.Nodes.FrooxEngine.Interaction.Tools.GetRawDataToolHit.ComputeOutputs (FrooxEngine.ProtoFlux.FrooxEngineContext context) [0x00017] in <46dc399e84b74ccd9ecbc2b7673baf0b>:0
at ProtoFlux.Runtimes.Execution.VoidNode`1[C].Evaluate (C context) [0x00000] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluationSequence`1[C].Evaluate (C context) [0x00068] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluateSequence`1[C].Evaluate (C context) [0x00000] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluationSequence`1[C].Evaluate (C context) [0x00068] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluateSequence`1[C].Evaluate (C context) [0x00000] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluationSequence`1[C].Evaluate (C context) [0x00068] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluateSequence`1[C].Evaluate (C context) [0x00000] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluationSequence`1[C].Evaluate (C context) [0x00068] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluateSequence`1[C].Evaluate (C context) [0x00000] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluationSequence`1[C].Evaluate (C context) [0x00068] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluateSequence`1[C].Evaluate (C context) [0x00000] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluationSequence`1[C].Evaluate (C context) [0x00068] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluateSequence`1[C].Evaluate (C context) [0x00000] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluationSequence`1[C].Evaluate (C context) [0x00068] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.EvaluationSequence`1[C].EvaluateObject[T] (ProtoFlux.Core.IOutput output, C context) [0x00000] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.ExecutionRuntime`1[C].EvaluateObject[T] (ProtoFlux.Core.IOutput output, ProtoFlux.Runtimes.Execution.ExecutionContext context) [0x0004c] in <73d8ff99d53044acbb81bdc4e997e873>:0
at ProtoFlux.Runtimes.Execution.ExecutionContextExtensions.Evaluate[T] (ProtoFlux.Core.ObjectInput`1[T] input, ProtoFlux.Runtimes.Execution.ExecutionContext context, T defaultValue) [0x00018] in <73d8ff99d53044acbb81bdc4e997e873>:0
at FrooxEngine.ProtoFlux.CoreNodes.ReferenceDrive`1[T].Changed (FrooxEngine.ProtoFlux.FrooxEngineContext context) [0x0003d] in <6450ba452eef4b15a58558870451eee7>:0
at ProtoFlux.Runtimes.Execution.ExecutionChangesDispatcher`1[C].DispatchChanges (ProtoFlux.Runtimes.Execution.ExecutionRuntime`1[C] runtime, C context) [0x0007a] in <73d8ff99d53044acbb81bdc4e997e873>:0
at FrooxEngine.ProtoFlux.ProtoFluxNodeGroup.RunNodeChanges () [0x00108] in <6450ba452eef4b15a58558870451eee7>:0
at FrooxEngine.ProtoFlux.ProtoFluxController.RunContinuousChanges () [0x0002d] in <6450ba452eef4b15a58558870451eee7>:0
at FrooxEngine.World.RefreshStep () [0x00421] in <6450ba452eef4b15a58558870451eee7>:0
at FrooxEngine.World.Refresh () [0x00073] in <6450ba452eef4b15a58558870451eee7>:0
at FrooxEngine.WorldManager.UpdateStep () [0x004a3] in <6450ba452eef4b15a58558870451eee7>:0
at System.Environment.get_StackTrace () [0x00000] in <9577ac7a62ef43179789031239ba8798>:0
at Elements.Core.UniLog.Error (System.String message, System.Boolean stackTrace) [0x00000] in <aa0c58f0f73841a7b5fdcd3aa64d3410>:0
at FrooxEngine.WorldManager.UpdateStep () [0x00000] in <6450ba452eef4b15a58558870451eee7>:0
at FrooxEngine.WorldManager.RunUpdateLoop () [0x00000] in <6450ba452eef4b15a58558870451eee7>:0
at FrooxEngine.Engine.UpdateStep () [0x00000] in <6450ba452eef4b15a58558870451eee7>:0
at FrooxEngine.Engine.RunUpdateLoop () [0x00000] in <6450ba452eef4b15a58558870451eee7>:0
at UnityFrooxEngineRunner.FrooxEngineRunner.UpdateFrooxEngine () [0x00000] in <e74db962a71e4b62b259fa91018e0f2f>:0
at UnityFrooxEngineRunner.FrooxEngineRunner.Update () [0x00000] in <e74db962a71e4b62b259fa91018e0f2f>:0
Seeking feedback from @ProbablePrime as they've been tackling a number of crash reports of late.
Low priority but fixable.
Describe the bug?
When scaling the default Resonite multi-tool (under Resonite Essentials > Tools > Misc) when it gets scaled to 0 it crshes the user that did the scaling. This works with scaling with inspector or protoflux.
To Reproduce
Scale default multi-tool to 0 via any method
Expected behavior
The world closes with an uncaught exception, or you get kicked depending if you are the host
Screenshots
There is a screenshot of the multi-tool, and the error I get
![image](https://github.com/Yellow-Dog-Man/Resonite-Issues/assets/76547416/12a58f3c-f5b0-4ae3-8cbe-191d443431c0)
Resonite Version Number
2023.10.13.743
What Platforms does this occur on?
Windows
What headset if any do you use?
Oculus CV1 (Original Oculus Rift)
Log Files
No response
Additional Context
No response
Reporters
Khawn (Me) Domino (The one who found the bug first by accident)