Search Issue Tracker
Duplicate
Votes
0
Found in
2018.2.0a8
2018.2.0b4
Issue ID
1040842
Regression
Yes
MonoBehaviour.OnMouseEnter misbehaves after changing parent of its GameObject
To reproduce:
1. Open the attached project (OnMouseOver.zip)
2. Open the "SampleScene" scene
3. Enter Play mode
4. Hover over the cube, observe the console
5. Press Space to change the parent of the cube
6. Hover over the cube, observe no messages in the console
7. Hover over where the cube initially was
8. Observe the console messages
Expected: after a parent change, OnMouseOver gets called when mouse is over the object, not the place where the object previously was
Reproduced in 2018.2.0a8, 2018.2.0b4, 2018.3.0a1
Did not reproduce in 2018.1.2f1, 2018.2.0a7
Regression introduced 2018.2.0a8
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Add comment