Search Issue Tracker

Not Reproducible

Votes

1

Found in

5.2.0p1

Issue ID

728877

Regression

Yes

[Atomics] Device freezes in an apparent loop after running project for a while or at startup

iOS

-

How to reproduce:

1. Open attached project
2. Build to iOS and run
3. Play the game for a while
- The game freezes, but Xcode does not react as if the project crashed

Comments (1)

  1. Woody4618

    Oct 31, 2015 11:29

    Hey, I think i tracked it down to Canvas.RenderOverlays wait for Job Canvas.sort. That was also what i saw where it hang in Xcode.
    It is easily reproducable.
    Create a Canvas with a canvas scaler, scale with screen size. Add a scroll view and add a view elements. Set the reference resolution high. Its very easily seeable with high values, like 80000 or something. Then deploy to mobile, scroll the view and watch the profiler.
    The sort job takes about 60 ms per frame. I guess the egine is then waiting for it or triggers it again when its not yet done and then it loops forever. I guess its related to putting the sorting into a seperate thread. http://blogs.unity3d.com/2015/09/07/making-the-ui-backend-faster/

    Took me two days to figure out that it is probably a unity bug :(

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.