Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

unity 2017.1 beta Assertion failed?

Discussion in '2017.1 Beta' started by leegod, Apr 14, 2017.

  1. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    1,774
    Assertion failed: Assertion failed on expression: 'IsNormalized(dir)'
    UnityEngine.EventSystems.EventSystem:Update()

    This error generated hundreds in a second when I play game. And button pressing does not work as correct function.

    This does not happen when I using unity 5.6

    How to fix?
     
  2. UziMonkey

    UziMonkey

    Joined:
    Nov 7, 2012
    Posts:
    206
  3. DeathProfessor

    DeathProfessor

    Joined:
    Jan 16, 2017
    Posts:
    3
    I have the same issue in Unity 2017.1.0b2.
    Changing canvas Render Mode to "Screen Space - Overlay" solves this assertion.
     
  4. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    1,774
    Then why there 'World Space' mode exist? So that world mode is no more valid?

    I am using World mode, so then I should stick to 5.6 version?
     
  5. DeathProfessor

    DeathProfessor

    Joined:
    Jan 16, 2017
    Posts:
    3
    I think this is bug of Unity 2017.1.0b2. In the following more stable versions it should be fixed. Now the best solution is to use Unity 5.6.
     
  6. DeathProfessor

    DeathProfessor

    Joined:
    Jan 16, 2017
    Posts:
    3
  7. natsupy

    natsupy

    Joined:
    Feb 5, 2016
    Posts:
    17
    i using screen space - camera for mask UI when moving it around BG sprite and have this issue, still error with 2017.1.0b5, any one have other asset or shader like this sprite masking, this awesome !
     
  8. mikewilliams76901

    mikewilliams76901

    Joined:
    Jan 29, 2014
    Posts:
    3
    This also fixed my error in 2017.1.0b4. It was interesting though, had the same canvas object in multiple scenes and 1 of 5 produced such an error.
     
  9. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,487
  10. natsupy

    natsupy

    Joined:
    Feb 5, 2016
    Posts:
    17
    may be error in file event system when i using "screen space - camera", hope them fix this issue soon, sprite masking is so good
     
  11. natsupy

    natsupy

    Joined:
    Feb 5, 2016
    Posts:
    17
  12. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,487
    Looks like it got retracted. We're working on it. The Issue Tracker link is still valid.