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
- Mouse cursor does not revert to the default mouse cursor when pressing the "Add column" button in the Search window
- ArgumentException is thrown and textures become unreadable when AssetBundle.Unload(false) is called
- URP Tab Reset Menu Button Is Invisible in Light Mode
- Editor crashes on "(Unity) WriteObjectToVector" when entering into the Play Mode
- Saved search to project properties have no margin at the top of the Inspector window
Add comment