Search Issue Tracker

Fixed

Votes

25

Found in

5.0.0p2

Issue ID

684020

Regression

No

The lack of vertex attributes causes a crash on dynamic batching

Mobile Rendering

-

Unity Player crashes when all the following conditions are fulfilled:

- Using OpenGL ES (2.0/3.0).
- Dynamic Batching is enabled.
- There is a vertex shader that needs a vertex color.
- A mesh without vertex color is given to that shader.

It’s reproducible on both iOS and Android devices. Note that it doesn’t reproduce when using Metal API.

Comments (12)

  1. pahe

    Apr 01, 2015 15:53

    The problem still occurs in 5.0.1 for me. :/

  2. manny003

    Mar 31, 2015 00:49

    I can confirm this issue. Many people were experiencing crashes and when I saw this Issue report and did some code modifications, my crash went away.

    See details here: http://forum.unity3d.com/threads/ios-crash-after-applying-patch-p3-unity-5.314139/

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.