StressLevelZero / MarrowSDK-Legacy

MIT License
288 stars 39 forks source link

No window opens after packing pallet, error in console #30

Closed valentinegb closed 1 year ago

valentinegb commented 1 year ago

After packing a pallet, no window opens and the following error is printed in the console:

Win32Exception: Cannot find the specified file
System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) (at <8a7d408b6e6348bc807930dd4bcb7668>:0)
System.Diagnostics.Process.Start () (at <8a7d408b6e6348bc807930dd4bcb7668>:0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) (at <8a7d408b6e6348bc807930dd4bcb7668>:0)
SLZ.MarrowEditor.ModBuilder.OpenFolder (System.String folderPath) (at Library/PackageCache/com.stresslevelzero.marrow.sdk@cf57525691/SLZ.Marrow.SDK.Editor/SLZ.MarrowEditor/ModBuilder.cs:84)
SLZ.MarrowEditor.ModBuilder.OpenContainingBuiltModFolder (SLZ.Marrow.Warehouse.Pallet currentPallet) (at Library/PackageCache/com.stresslevelzero.marrow.sdk@cf57525691/SLZ.Marrow.SDK.Editor/SLZ.MarrowEditor/ModBuilder.cs:109)
SLZ.MarrowEditor.PalletEditor.OnInspectorGUI () (at Library/PackageCache/com.stresslevelzero.marrow.sdk@cf57525691/SLZ.Marrow.SDK.Editor/SLZ.MarrowEditor/PalletEditor.cs:103)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at /Users/bokken/buildslave/unity/build/ModuleOverrides/com.unity.ui/Editor/Inspector/InspectorElement.cs:636)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)

It's probably relevant that I am using the Apple Silicon version of Unity 2021.3.5f1 on my M1 MacBook Air.

valentinegb commented 1 year ago

Hmmm... https://github.com/StressLevelZero/MarrowSDK/blob/cf5752569114a7c7616cdd572f5351c867488c2f/SLZ.Marrow.SDK.Editor/SLZ.MarrowEditor/ModBuilder.cs#L81

valentinegb commented 1 year ago

Figured out where pallets build to ([Unity Project]/BuiltPallets), I can now confirm that it did build, just didn't open the window.

Greased-Scotsman commented 1 year ago

The workflow is definitely built around Windows and Android (given that Bonelab is only available for Win/Quest2), but there was effort to make the process fairly platform agnostic. It's nice to hear that the project built!

Greased-Scotsman commented 1 year ago

Actually... we just updated that process so it should be platform agnostic, too, in the next SDK update. :)