Search Unity

How to know source of exception

Discussion in 'Entity Component System' started by Stroustrup, May 31, 2020.

  1. Stroustrup

    Stroustrup

    Joined:
    May 18, 2020
    Posts:
    142
    How do i know which entity query in which script is causing this error?
    game stops initialization after it encounters this error

     

    Attached Files:

  2. Stroustrup

    Stroustrup

    Joined:
    May 18, 2020
    Posts:
    142
    ok i found the cause by manually going through all my systems and disabling auto creation until i found the source. but the query that throws this exception seriously should be included into the exception