Search Issue Tracker

Fixed in 5.3.6

Votes

31

Found in

5.3.3p1

Issue ID

774423

Regression

Yes

[UI?] After multiple m_size < k_reference_bit errors Unity crashes at FullParameterPreparer::OnPrepareTexture

Shaders

-

Steps to reproduce:

1. Open attached project "774423.zip"
2. Open scene "Assets/Scenes/GameScene"
3. Run it
4. Press TAB twice
5. Notice "m_size < k_reference_bit" errors start to accumulate and then Unity crashes

Note: Sometimes Unity crashes right away, other times it takes more than 50 errors to be printed before crash.

Not reproducible: 5.3.3f1
Regression introduced in: 5.3.3p1
Reproduced with: 5.3.3p3, 5.4.0b10

Comments (13)

  1. 9253bafd2da9defe976fcee6eee06726?d=mm

    Rickshao

    Jul 27, 2016 09:29

    Occurs in Unity 5.3.5f1

  2. C4d29d31ffc653e07ea79f4014272de7?d=mm

    hawken

    Jun 11, 2016 06:19

    I'm seeing this issue in 5.3.5

    m_size < k_reference_bit

  3. 0ea9767bb4d96261224aa8b62a651973?d=mm

    ph0b0s

    Jun 03, 2016 14:54

    Waiting for 5.3.6, hit this problem in the 5.3.5f1.

  4. 0d5a54c7438d6b5d192b2d334c2af447?d=mm

    ResoDev

    May 24, 2016 18:38

    Just crashed because of this error in 5.3.4. I wasn't doing anything fancy, just displaying text and images in UI. I'm going to update to 5.3.5 and hope that this issue will be resolved, although it's written "resolved in 5.3.6" which is not out yet.

  5. Ea3a8014ab56ab67dee1465e21660654?d=mm

    Nodrap

    May 24, 2016 16:31

    Hit the problem too. Am rendering a canvas to a texture and the screen flickers a few times and then the error log starts to show the "m_size..." and it will crash after 10-30 seconds. 5.3.4

  6. Fa61d1d207e442f6eb9675788e23493f?d=mm

    Naphier

    Apr 29, 2016 21:58

    Bummer, now I'm getting consistent crashes. Seems to happen when moving or scaling UI components that are being rendered to texture. Now we can't animate out UI onto a texture.

  7. Fa61d1d207e442f6eb9675788e23493f?d=mm

    Naphier

    Apr 29, 2016 19:08

    5.3.4f1 no crash, but this message occurs when we're doing some scaling animations on some uGUI images that are rendered to texture.

  8. B35c2b76ea4ff30e434fbb693aa2cbcd?d=mm

    MisterJones

    Apr 23, 2016 00:25

    Still occurs in 5.3.4p4

  9. 8cd86496ca968818e129754bcfbfc4bd?d=mm

    fredlllll

    Apr 05, 2016 12:45

    also have the problem since 5.3.4
    we also draw the gui on a rendertarget. but the error usually pops up when something with animations is happening. when i start the game i can run around for 5 seconds and then the editor crashes

  10. B6c576aebb270ef2168f845254782a70?d=mm

    Silent8Strike

    Mar 31, 2016 02:36

    Same issue in 5.3.4f1, caused by rendering a uGUI canvas to a render texture. If I disable the camera rendering the GUI the errors no longer occur.

    If I leave the camera enabled the errors continue until the editor inevitably crashes.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.