11-05-2021, 08:57 AM
Thanks, I did turn them off (safety/debug/leak)...
However I didn't notice that reloading the project Unity will re-enable debugger and safety checks, only Leak is saved between reloads.
I did add some code to remind to remind me in ObiSolverEditor.cs
maybe something to consider adding?
However I didn't notice that reloading the project Unity will re-enable debugger and safety checks, only Leak is saved between reloads.
I did add some code to remind to remind me in ObiSolverEditor.cs

maybe something to consider adding?
Code:
#if (OBI_BURST && OBI_MATHEMATICS && OBI_COLLECTIONS)
if (backend.enumValueIndex == (int)ObiSolver.BackendType.Burst)
{
if (Unity.Jobs.LowLevel.Unsafe.JobsUtility.JobDebuggerEnabled)
EditorGUILayout.HelpBox("Burst Jobs Debugger will cause performance issues in editor.", MessageType.Warning);
if (!Menu.GetChecked("Jobs/Burst/Safety Checks/Off"))
EditorGUILayout.HelpBox("Burst Safety Checks may cause performance issues in editor.", MessageType.Warning);
}
#endif