Search Issue Tracker

Fixed in 2017.2

Votes

3

Found in

5.6.1p1

Issue ID

917177

Regression

Yes

Assertion failed on expression when GameObject with Animator component is Parent of the Canvas with Screen Space - Camera

UI

-

Steps to reproduce:

1) Open Unity and create a new project
2) In Hierarchy window, create a new empty GameObject
3) Create Canvas as a child of an empty GameObject
4) Change Canvas Render Mode to 'Screen Space - Camera' and add Main Camera in to Render Camera slot
5) Add Animator component for an empty GameObject
6) In Project window, click on r.mouse button >> Create >> Animator Controller
7) Attach created Animator Controller to the GameObject
8) Press Play
Error in the console will be thrown:
'Assertion failed on expression: '(changeMask & Transform::kReceivedDueToParentTRSChanged) == 0''

Expected result: No errors in the Console
Actual result: Error in the Console appears : 'Assertion failed on expression: '(changeMask & Transform::kReceivedDueToParentTRSChanged) == 0''

Reproduced with:
5.5.3p4, 5.5.4f1, 5.6.1p2, 2017.1.0b8, 2017.2.0a2

Not reproduced with:
5.4.5p3, 5.5.3p3

Regression since:
5.5.3p4

Note: Reproduces only when Render Mode of the Canvas is set to 'Screen Space - Camera'
Video of reproduction is attached( 'repro.mp4')

----------------------

Fixed in 2017.1.0f1, 5.6.2p1, 5.5.4p2 & 5.4.5p4

Comments (3)

  1. Be49952dfc1dd6bdb6b4577b650a915d?d=mm

    rtilton1

    Jul 21, 2017 21:11

    I'm having this bug on 2017.1. No canvas renderer in my scene.

  2. B8c9231f6cbf2d808724e463e71278e8?d=mm

    DWS

    Jun 27, 2017 17:57

    This is exactly the error I wondered !
    I still get this error on version 2017.1.0b9.

  3. Fa92699efd2c2e555e582c09d84aa3b3?d=mm

    Cliwo

    Jun 22, 2017 06:15

    I'm getting similar problem on 5.6.2f1 ver

    error description is totally same.

    1. I have some gameObjects that have script which controls some UI.
    2. when script turns on some UI that is on 'screen space-camera' , same errors occur
    3. the errors occur only at first time. turning off and re-turning on is okay
    4. I have several Canvases which is working in this way. and Each Canvases makes same error when they are on

    I think this error does not affect on game (in all aspect) but still makes me uncomfortable

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.