You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am able to build and run code-only on Linux but I have to manually copy files here: /home/vaso/.nuget/packages/stride.core.assets.compilerapp/4.2.0.2293/lib/net8.0, see the step 8 below.
To Reproduce
Steps to reproduce the behavior: Steps are below
Expected behavior
There shouldn't be a manual fiddling with Stride files.
Screenshots
Below
Log and callstacks
N/a
Additional context
This test was done on Ubuntu 24.04.3 LTS.
Optional step:
sudo apt update # Fetches the list of available updates
sudo apt upgrade # Installs some updates; does not remove packages
sudo apt full-upgrade # Installs updates; may also remove some packages, if needed
sudo apt autoremove # Removes any old packages that are no longer needed
Important
Last tested on 4th September 2025 with Stride 4.2.1.2442 and Stride.CommunityToolkit 1.0.0-preview.59
Warning
Make sure you use the latest Stride NuGet packages paired with correct Stride.CommunityToolkit NuGet packages and you replace the paths below accordingly.
Setup:
Ensure your Linux distribution is up to date and has an IDE like VS Code or Rider installed.
Add the Stride.CommunityToolkit NuGet package instead of Stride.CommunityToolkit.Windows (We should create probably a package called Stride.CommunityToolkit.Linux).
To: /home/vaso/.nuget/packages/stride.core.assets.compilerapp/4.2.0.2293/lib/net8.0:
You should be able to run application dotnet run and see this below (The black debug text is another issue..)
If you skip step 8, you might get this error:
vaso@vaso-stride:~/Projects/Project01$ dotnet build
MSBuild version 17.8.5+b5265ef37 for .NET
Determining projects to restore...
Restored /home/vaso/Projects/Project01/Project01.csproj (in 1.14 sec).
Patch for assembly [Project01, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]
Project01 -> /home/vaso/Projects/Project01/bin/Debug/net8.0/linux-x64/Project01.dll
Unhandled exception. System.TypeInitializationException: The type initializer for '<Module>' threw an exception.
---> System.TypeInitializationException: The type initializer for '<Module>' threw an exception.
---> System.TypeInitializationException: The type initializer for '<Module>' threw an exception.
---> System.InvalidOperationException: Could not load native library libbulletc using CPU architecture x64.
at Stride.Core.NativeLibraryHelper.PreloadLibrary(String libraryName, Type owner) in C:\BuildAgent\work\b5f46e3c4829a09e\sources\core\Stride.Core\Native\NativeLibraryHelper.cs:line 123
at Stride.Engine.Module.Initialize() in C:\BuildAgent\work\b5f46e3c4829a09e\sources\engine\Stride.Physics\Module.cs:line 18
at Stride.Core.CompilerServices.AutoGenerated.ModuleInitializer.<ModuleInitializer>F5D91558074716FFC11AFA8A899C97D0B6F82A81622FFA2C3017C0F689B8C9D8E__ModuleInitializer.Initialize() in C:\BuildAgent\work\b5f46e3c4829a09e\sources\engine\Stride.Physics\obj\Release\net8.0\Stride.Core.CompilerServices\Stride.Core.CompilerServices.Generators.ModuleInitializerGenerator\ModuleInitializer.cs:line 9
at .cctor()
--- End of inner exception stack trace ---
at UpdateEngineAutoGenerated.UpdateMain0()
at .cctor()
--- End of inner exception stack trace ---
at Stride.Core.DataSerializers.Stride_Core_Assets_CompilerAppSerializerFactory.Initialize()
at .cctor()
--- End of inner exception stack trace ---
Aborted (core dumped)
/home/vaso/.nuget/packages/stride.core.assets.compilerapp/4.2.0.2293/buildTransitive/Stride.Core.Assets.CompilerApp.targets(154,5): error MSB3073: The command "dotnet "/home/vaso/.nuget/packages/stride.core.assets.compilerapp/4.2.0.2293/buildTransitive/../lib/net8.0/Stride.Core.Assets.CompilerApp.dll" --disable-auto-compile --project-configuration "Debug" --platform=Linux --project-configuration=Debug --compile-property:StrideGraphicsApi=OpenGL --output-path="/home/vaso/Projects/Project01/bin/Debug/net8.0/linux-x64/data" --build-path="/home/vaso/Projects/Project01/obj/stride/assetbuild/data" --package-file="/home/vaso/Projects/Project01/Project01.csproj" --msbuild-uptodatecheck-filebase="/home/vaso/Projects/Project01/obj/Debug/net8.0/linux-x64/stride/assetcompiler-uptodatecheck"" exited with code 134. [/home/vaso/Projects/Project01/Project01.csproj]
Build FAILED.
/home/vaso/.nuget/packages/stride.core.assets.compilerapp/4.2.0.2293/buildTransitive/Stride.Core.Assets.CompilerApp.targets(154,5): error MSB3073: The command "dotnet "/home/vaso/.nuget/packages/stride.core.assets.compilerapp/4.2.0.2293/buildTransitive/../lib/net8.0/Stride.Core.Assets.CompilerApp.dll" --disable-auto-compile --project-configuration "Debug" --platform=Linux --project-configuration=Debug --compile-property:StrideGraphicsApi=OpenGL --output-path="/home/vaso/Projects/Project01/bin/Debug/net8.0/linux-x64/data" --build-path="/home/vaso/Projects/Project01/obj/stride/assetbuild/data" --package-file="/home/vaso/Projects/Project01/Project01.csproj" --msbuild-uptodatecheck-filebase="/home/vaso/Projects/Project01/obj/Debug/net8.0/linux-x64/stride/assetcompiler-uptodatecheck"" exited with code 134. [/home/vaso/Projects/Project01/Project01.csproj]
0 Warning(s)
1 Error(s)
Release Type: Official Release
Version: 4.2.0.2293
Platform(s): Linux
Describe the bug
I am able to build and run code-only on Linux but I have to manually copy files here:
/home/vaso/.nuget/packages/stride.core.assets.compilerapp/4.2.0.2293/lib/net8.0, see the step 8 below.To Reproduce
Steps to reproduce the behavior: Steps are below
Expected behavior
There shouldn't be a manual fiddling with Stride files.
Screenshots
Below
Log and callstacks
N/a
Additional context
This test was done on Ubuntu 24.04.3 LTS.
Optional step:
sudo apt update# Fetches the list of available updatessudo apt upgrade# Installs some updates; does not remove packagessudo apt full-upgrade# Installs updates; may also remove some packages, if neededsudo apt autoremove# Removes any old packages that are no longer neededImportant
Last tested on 4th September 2025 with Stride
4.2.1.2442and Stride.CommunityToolkit1.0.0-preview.59Warning
Make sure you use the latest Stride NuGet packages paired with correct Stride.CommunityToolkit NuGet packages and you replace the paths below accordingly.
Setup:
Stride.CommunityToolkitNuGet package instead ofStride.CommunityToolkit.Windows(We should create probably a package calledStride.CommunityToolkit.Linux).Stride.Core.Assets.CompilerAppNuGet package.Program.cs.csproj) to include the following properties:RuntimeIdentifierStrideGraphicsApiIncludeAssetsto thePackageReferenceYou should be able to build the project successfully with, you have to do step 8 before you dodotnet builddotnet build.sofiles tostride.core.assets.compilerapp/4.2.0.2293/lib/net8.0:/home/vaso/.nuget/packages/stride.physics/4.2.0.2293/runtimes/linux-x64/native/libbulletc.so/home/vaso/.nuget/packages/stride.assets/4.2.0.2293/runtimes/linux-x64/native/VHACD.so/home/vaso/.nuget/packages/stride.textureconverter/4.2.0.2293/runtimes/linux-x64/native/DxtWrapper.so/home/vaso/.nuget/packages/stride.textureconverter/4.2.0.2293/runtimes/linux-x64/native/PVRTextLib.so/home/vaso/.nuget/packages/stride.core.assets.compilerapp/4.2.0.2293/lib/net8.0:dotnet runand see this below (The black debug text is another issue..)If you skip step 8, you might get this error:
v2