Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.1f1
Issue ID
958739
Regression
Yes
[OSX] Instantiating GameObject from prefab with script that returns its position in OnEnable() method, returns incorrect data
To reproduce:
1. Open project
2. Play scene
Expected: 'I have Enabled and my position is: (2.0, 2.0, 2.0)' will be thrown to console
Actual: 'I have Enabled and my position is: (1.0, 1.0, 1.0)' is thrown
Note:
• After re-enabling 'Log Position On Enable' script on 'TestCube' gameObject while in play mode, position message is shown correctly
• Not reproducible on windows
Reproduced on: 5.6.3p4, 2017.1.2p1, 2017.2.0f1, 2017.3.0b4
Not reproducible: 5.6.0a1, 5.6.3p1
Regression introduced between 5.6.3p1- 5.6.3p4
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #953068