Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.2.1f1
Issue ID
1065036
Regression
No
Variables values differ between Editor and Player
How to reproduce:
1. Open attached Unity project "prototype-multi-plane"
2. Press File --> Build and Run
3. Open "GameManager.cs" script with Visual Studio
4. Set some breakpoints in the script
5. In Visual Studio press Debug --> Attach Unity Debugger
6. When project stops on break point, in the Autos window select "this"
Additional steps:
7. In the build press Play and Host
8. Press the green "+" button
9. Press "join" for both players
10. Press green "A" button
Expected result: Values of the variables in a build are the same as playing in the Editor.
Actual result: Values differ when playing in a build and in an Editor.
Reproduced with: 2018.3.0a9, 2018.2.5f1.
Note: Can't reproduce on 2017.1 - 2018.1 versions because of errors.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Add comment