Sample game not working in release build
Nobody has claimed this yet.
- 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:
- Create TopDownRPG template.
- Open Visual Studio.
- Right click Windows project and open publish.
- Set Release as configuration.
- Set net461 as Target Framework.
- Publish to a folder.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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