Search Unity

Is Unity absorb signal from native lib?

Discussion in 'Unity Reflect' started by Neon-Baker, Aug 24, 2020.

  1. Neon-Baker

    Neon-Baker

    Joined:
    Jun 30, 2016
    Posts:
    1
    Some environments info:
    • Unity version: 2018.4.18
    • Android Version: 4.4.2
    If I prepare a native lib(.so) and insert it to my project, and there's a `assert(false)` in it.
    When the `assert(false)` is called, is the whole process will be killed by the system?
    More specifically speaking, is the process will be killed due to SIGABRT? Or the process will not be killed because Unity will absorb the signal?
     
  2. FredMoreau

    FredMoreau

    Unity Technologies

    Joined:
    May 27, 2019
    Posts:
    168