stride3d / stride3d/stride

Sample game not working in release build

Open
#689 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Samples bug
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Release Type: Official Release

Version: 4.0.0.1 and 3.1.0.1 both.

Platform(s): Windows with .NET framework 4.6.1

Describe the bug
Sample game, TopDownRPG is broken in release build. Cannot move the character because the moving point placing at the camera.
In debug build, there is not problem.

To Reproduce
Steps to reproduce the behavior:

  1. Create TopDownRPG template.
  2. Open Visual Studio.
  3. Right click Windows project and open publish.
    • Set Release as configuration.
    • Set net461 as Target Framework.
  4. Publish to a folder.
  5. Open the folder and launch the exe file.

Expected behavior
Same working with debug build.

Additional context
Some waring messages,
warning X3557: loop only executes for 1 iteration(s), forcing loop to unroll
appeared when build, but I don't think this is related with this issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue from the TopDownRPG template in Visual Studio, following the Windows project publish steps with Release and net461. Compare the published executable with the debug build and verify whether the character can move normally; done means the release build behaves like the debug build.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.