Search Issue Tracker

Fixed in 2017.1.0f3



Found in


Issue ID




"Assertion failed on expression:IsNormalized(dir)" errors thrown when hovering onto game view and Screen Space is set to Camera



How to reproduce:
1. Open the attached "AssertionError" project
2. Open "MainMenu" scene and enter playmode
3. Hover onto game view

Expected result: No errors are produced
Actual result: "Assertion failed: Assertion failed on expression: IsNormalized(dir)" errors are thrown in the console

1. Reproducible only when Canvas Render Mode is set Screen Space - Camera, doesn't reproduce when Canvas Render Mode is set to Screen Space - Overlay
2. Doesn't reproduce if one of those components isn't used in Canvas: Animator, Vertical Layout Group, Text

Regression introduced in - 2017.1.0a4
Reproducible with - 2017.1.0b3, 2017.1.0a4, 2017.1.0b5
Not reproducible with - 2017.1.0a3, 5.6.0p3, 5.5.3p2

Comments (4)

  1. robert_iadanza

    Oct 24, 2018 02:33

    This error is reproduced in 2018.2 10f1 64bit Windows when:
    Animations are present anywhere inside the canvas
    Canvas is set to Screen Space Overlay
    Camera is set to Orthographic.

    Switching camera to Perspective removes the error.

    This is still very much an open issue - please re-open.

  2. robert_iadanza

    Oct 24, 2018 02:28

    Still an issue with 2018.2 10f1 64bit Windows build.

    Canvas is set to Screen Space Overlay - and it's still throwing the error.

  3. TimotejRybar

    Jun 06, 2017 08:34

    still an issue with 2017.1.0b8 please look into it :(

  4. MaskedMouse

    May 22, 2017 07:05

    reproducible with 2017.1.0b6

Add comment

Log in to post comment

All about bugs

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