-
-
Notifications
You must be signed in to change notification settings - Fork 970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code-Only Development on Linux (Ubuntu) Requires Manual File Copying #2596
Comments
Note: You can also use samples to test out and sometimes this issue occurs too |
Which command did you use to run after the initial build (and before step 8)? |
I just updated the instructions above. Build with |
I might found the cause of the problem. Example: VHACD. ~/.nuget/packages/stride.assets/4.2.0.1/lib/net8.0/*.so: But correct path is : ~/.nuget/packages/stride.assets/4.2.0.1/runtimes/linux-x64/native/*.so |
Nice digging. So is this a bug or just this wasn't ever tested and corrected? |
Everything is possible 😅 |
Stride is like a software from the future which we try to figure out 🤣 |
Was the code-only project built with runtime identifiers? Edit: apparently yes according to the first post. |
Weird..I tried to debug the problem but it only fixed the path search..awesome |
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
Stride.CommunityToolkit
NuGet package instead ofStride.CommunityToolkit.Windows
(We should create probably a package calledStride.CommunityToolkit.Linux
).Stride.Core.Assets.CompilerApp
NuGet package..csproj
) to include the following properties (AddRuntimeIdentifier
andStrideGraphicsApi
, addIncludeAssets
to thePackageReference
):dotnet build
.so
files to/home/vaso/.nuget/packages/stride.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
dotnet run
and see this below (The black debug text is another issue..)If you skip step 8, you might get this error:
The text was updated successfully, but these errors were encountered: