Closed ulrichanthony closed 11 months ago
Seems like a Stride Engine bug. There's a workaround though: MyraRenderer could be added to the GraphicsCompositor via Startup Script. I've updated the tutorial accordingly: https://github.com/rds1983/Myra/wiki/Using-Myra-in-Stride-Engine-Tutorial The new way is described starting from the step 8.
Thanks.
I went through the documentation and followed the steps to get Myra working in my Stride project. Everything works fine when building the project. The problem is that when I change any code and Stride refreshes the assemblies it removes the MyraRenderer reference in the Graphics Composter.
Here you can see the Graphics Composter configured the same way as the tutorial.
Myra.Stride is marked as a dependency using NuGet (version 1.5.1 of Myra.Stride)
As soon as I update some code and Stride reloads, the reference gets cleared:
(GraphicsCompositor.sdgfxcomp diff)
And after adding it back manually I looks like the GUID for the MyraRenderer has changed causing the reference to be lost in the first place.
What could be causing this?