Search Unity

Assertion failed error

Discussion in 'Scripting' started by YOAJ1, Jun 29, 2018.

  1. YOAJ1

    YOAJ1

    Joined:
    Jul 17, 2014
    Posts:
    26
    Assertion failed: Assertion failed on expression: 'ptr == NULL || !HAS_ROOT_REFERENCE(GET_CURRENT_ALLOC_ROOT_REFERENCE()) || GET_CURRENT_ALLOC_ROOT_REFERENCE() == GET_ROOT_REFERENCE(s_MonoDomainContainer, kMemMono)'
    UnityEngine.GUISkin:OnEnable()


    The above error appears when opening and building the project.


    Thank you.
     
  2. YOAJ1

    YOAJ1

    Joined:
    Jul 17, 2014
    Posts:
    26
    Issue solved!

    The guiskin file was the cause
    Im delete guiskin from project
    Error no longer appears