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
Godot v4.4.dev1.mono - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Tue, 20 Aug 2024 15:33:58 +0000 - Wayland - GLES3 (Compatibility) - Mesa Intel(R) UHD Graphics 630 (CFL GT2) - Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 Threads)
Issue description
If aot is not enabled for the first export of c# project, and is enabled for the second export, their c# data will be mixed with each other. under linux this will result in the runtime of the second exported game actually using the c# assembly from the first export, not the aot binary from the second export. (windows seems to have a worse problem with this)
Steps to reproduce
Export the project and run it, the screen should display Hello CSharp!.
Modify PublishAot in TestAot.csproj to true.
Use the same export path as the first time, re-export and run. Ideally it should display Hello CSharp Aot!. Under Linux, it will actually display Hello CSharp!. I have not tested it under Windows.
(When the export option of embed_build_outputs is enabled, this problem will still occur even if the two export paths are inconsistent)
Tested versions
v4.4.dev1.mono.official [28a72fa]
System information
Godot v4.4.dev1.mono - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Tue, 20 Aug 2024 15:33:58 +0000 - Wayland - GLES3 (Compatibility) - Mesa Intel(R) UHD Graphics 630 (CFL GT2) - Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 Threads)
Issue description
If aot is not enabled for the first export of c# project, and is enabled for the second export, their c# data will be mixed with each other. under linux this will result in the runtime of the second exported game actually using the c# assembly from the first export, not the aot binary from the second export. (windows seems to have a worse problem with this)
Steps to reproduce
Hello CSharp!
.PublishAot
inTestAot.csproj
totrue
.Hello CSharp Aot!
. Under Linux, it will actually displayHello CSharp!
. I have not tested it under Windows.(When the export option of
embed_build_outputs
is enabled, this problem will still occur even if the two export paths are inconsistent)Minimal reproduction project (MRP)
test-aot.zip
The text was updated successfully, but these errors were encountered: