I’m using 2021.4.0-613 (RC2) on Win10 64 with Stride 4.0.1.1428
Thanks @Azeno for the hint, this is to do with Path ioboxes.
In my patch I have a path iobox with an absolute path connected to the Stride LoadProject node.
I have converted my stride project to 4.0.1.1428 and this appears correctly in the .csproj file.
When I open the patch with gamma 0613 the LoadProject goes purple and gives an invalid path error. I also get a spam of new windows. If I hold f8 long enough the patch will stop, I can right click the path iobox and select again the .csproj file and it works.
If I now save the patch and open it again I get the same bug.
No bug with the same patch and path in gamma 0588 .(even keeping the stride project in version 1428)
I sadly can’t send the original patch or stride project.
And I cannot recreate this bug using the loadproject example patch with my project or the demo project.
I do have a workaround, saving the absolute path in a string iobox and then using a ToPath node to connect to the path iobox.
Is the path on another drive than the vl document, or on the network? maybe something goes wrong when saving the relative path… could you tell us whether the saved path in the xml of the vl doc looks good to you?
-I no longer get an error in the vvvv gamma editor, all looking good here
-However when I export the application and run it I get the same error as an exception pop up. Same error however this time with the correct absolute folder path.
-If I click continue the exception keeps coming back, can only quit
Ah yes, the export will behave different now. It’s also relative to the executable now. Say you have foo/Doc.vl with foo/images and export to bar/Doc.exe the path will resolve to bar/images. Previously it would bake the absolute path into the executable, which was fine for the dev machine but failed for all other machines.
And yes, if you want to store the path as absolute, use a string. The path topic will get an update in future versions but for now that’s how it is. Thanks for testing!