Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug UWP Assertion failed on expression with Unity 2017.4.36+

Discussion in 'Windows' started by Wadjey, May 25, 2020.

  1. Wadjey

    Wadjey

    Joined:
    Feb 4, 2015
    Posts:
    244
    Hi,
    After upgrading to Unity 2017.4.36f1 I started getting this exception when I run my game from VS 2019 (to UWP Debug x64):

    Code (CSharp):
    1. Assertion failed on expression: '!(m_WrappedTime == oldWrappedTime && !CompareApproximately(newWrappedTime, RepeatD(m_Time, begTime, endTime), 0.01F))'
    2.  
    3. (Filename: C:\buildslave\unity\build\Runtime/Animation/AnimationState.cpp Line: 429)
    When I downgrade to Unity 2017.4.32f1 the exception disappear. I seems that this bug is introduced with 2017.4.36f1 and later versions (Tested with 2017.4.40f1 and the exception still exist).

    Please to investigate this regression and fix it in the coming Unity 2017.4 LTS version
     
    Last edited: May 25, 2020
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,645
    Can you report a bug on this? We looked at the changes between those two versions and nothing really sticks out that would have broken it.

    The assert will also go away if you build in Release/Master configs.