Search Issue Tracker

Fixed

Votes

33

Found in

5.4.0a3

Issue ID

746995

Regression

No

Assert appears while Unity recompiles script and scene is running

Editor - Other

-

Repro
1. Open attached project
2. Run "TextureTest" scene
3. Open "DownloadTextureTest.cs" and make some changes
4. Save the script and back to the Editor
==>
Thread::EqualsCurrentThreadIDForAssert(Thread::mainThreadId)
m_RefCount != 0

Comments (13)

  1. Cd088de8f44b5fe083b5c6c18133a6b4?d=mm

    closeapps

    Oct 28, 2016 09:10

    Same here 5.4.1p3

  2. 8e6ab4bd32d7ace0893ccf32e5367def?d=mm

    Alexander-Fedoseev

    Oct 18, 2016 19:14

    Does Unity 5.4.1p4 solve the problem? Anybody tried?

  3. Cae732023684bd3e481d8af15afab862?d=mm

    ttesla

    Oct 08, 2016 13:40

    Happening in 5.4.1p3 and very annoying!

  4. F6852a14aeff2ffdd0c93f3e88b57b3e?d=mm

    BizzTheGreat

    Oct 03, 2016 11:02

    I tried narrowing it down and for my case it is "only" fired when non-UI objects are rendered. (i.e. sprite renderers cause this error and UI.Images do not)

    Please fix this!

  5. F6852a14aeff2ffdd0c93f3e88b57b3e?d=mm

    BizzTheGreat

    Oct 03, 2016 10:42

    I'm seeing this error in everyframe after upgrading to 5.4.1p3

    Thread::EqualsCurrentThreadIDForAssert(Thread::mainThreadId)

  6. 43ea7d66f81d30ca0f58524602b7aa71?d=mm

    Bloody-Swamp

    Oct 01, 2016 12:06

    Also in 5.4.1p3

  7. 6dcdcd07207b8c0e7c51595775733812?d=mm

    majakthecoder

    Oct 01, 2016 05:34

    Unity keeps logging it every frame which leads to significant fps drops;/

  8. 36e1f63e3323d09d4d7ff3aea270e134?d=mm

    beQr86

    Sep 29, 2016 09:28

    issue observed in Unity 5.4.1p3

  9. 189f1c5c2bba307099a9ae4158805db4?d=mm

    D3m0n

    Sep 29, 2016 00:49

    Same problem on 5.4.1p3. On p2 no problem.

  10. 915f4235cfca3ec79db7a122d7348296?d=mm

    Robin_Hayes

    Jul 11, 2016 19:54

    I am seeing this same error on 5.3.5p7 when I switched from using www to UnityWebRequest.GetTexture(), seems to have no effect as far as the load completing.

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.