Search Issue Tracker

Fixed in Unity 2018.3

Votes

2

Found in

2018.2.0f2

Issue ID

1062073

Regression

Yes

[Regression] Repaint and Layout OnGUI events don't update mousePosition in build

IMGUI

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Workaround is possible

How to reproduce:
1. Open the user-submitted project
2. Enter Play mode and observe the "mouse position" text field in the Game View
3. Build the Project and observe the "mouse position" text field

Expected result: "Mouse position: " changes every frame
Actual result: "Mouse position: " remains the same until a key or mouse button is pressed

Reproduced in: 2018.3.0a5, 2018.2.0f2, 2018.2.0f1 2018.2.0b4
Not Reproducible in: 2018.2.0b3, 2018.1.9f1, 2017.4.6f1, 2017.2.3p2, 2017.1.5f1

Verified with: 2018.3.0a7

Comments (5)

  1. 9dd287a212da3fcf9ae70770b000a64b?d=mm

    GGeff

    Aug 07, 2018 02:48

    The latest version available is 2018.2.2f1, and this problem persists there.
    There are no later versions available to me via https://unity3d.com/unity/beta or the Unity Hub Preview app. Where are you getting these later versions for testing?

  2. Edf28b7f282fe1f6732fc54cd4dcfe05?d=mm

    unity_OhvRZtLEIXGiEg

    Aug 06, 2018 09:55

    Ok, now fixed at least in 2018.2.9f1.

  3. Edf28b7f282fe1f6732fc54cd4dcfe05?d=mm

    unity_OhvRZtLEIXGiEg

    Aug 03, 2018 19:29

    2018.2.1f1 seems to have this bug as well.

  4. Edf28b7f282fe1f6732fc54cd4dcfe05?d=mm

    unity_OhvRZtLEIXGiEg

    Aug 02, 2018 23:22

    Oh, they fixed it?

  5. Edf28b7f282fe1f6732fc54cd4dcfe05?d=mm

    unity_OhvRZtLEIXGiEg

    Aug 01, 2018 03:17

    So in the playtest mode it works but doesn't do after you build it, right?

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.