Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Unhandled exception at start

Discussion in 'macOS' started by Gamrok, Sep 1, 2018.

  1. Gamrok

    Gamrok

    Joined:
    May 13, 2015
    Posts:
    16
    Hello,

    One of my players can't play the game on OSX El Capitan (10.11.6). The game freezes at start. In the log, there is an exception:

    Code (CSharp):
    1. Initialize engine version: 2018.2.0f2 (787658998520)
    2. GfxDevice: creating device client; threaded=1
    3. 2018-08-31 20:03:34.822 Pictopix[2703:39184] LG ULTRAWIDE preferred device: NVIDIA GeForce GTX 980 (high power)
    4. 2018-08-31 20:03:34.822 Pictopix[2703:39184] Metal devices available: 1
    5. 2018-08-31 20:03:34.822 Pictopix[2703:39184] 0: NVIDIA GeForce GTX 980 (high power)
    6. 2018-08-31 20:03:34.822 Pictopix[2703:39184] Using device NVIDIA GeForce GTX 980 (high power)
    7. Initializing Metal device caps: NVIDIA GeForce GTX 980
    8. Begin MonoManager ReloadAssembly
    9. - Completed reload, in  0.131 seconds
    10. Receiving unhandled NULL exception
    11. Obtained 21 stack frames.
    I don't know how I can help the player. Do you have an idea?
     
    Last edited: Sep 1, 2018
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,851
    Line 11 says it obtained 21 stack frames, which is where any clue would be located. But you didn't paste them above. What are they?
     
  3. Gamrok

    Gamrok

    Joined:
    May 13, 2015
    Posts:
    16
    The player had not yet sent me the full log. I asked him.
     
  4. Gamrok

    Gamrok

    Joined:
    May 13, 2015
    Posts:
    16
    Ok, the player has jut told me that this is the complete log.

    It is going to be hard to debug that :'(
     
  5. Gamrok

    Gamrok

    Joined:
    May 13, 2015
    Posts:
    16
    With the previous version of the game, the log display that:

    Code (CSharp):
    1. Initialize engine version: 2018.2.0f2 (787658998520)
    2. GfxDevice: creating device client; threaded=1
    3. 2018-08-31 20:03:34.822 Pictopix[2703:39184] LG ULTRAWIDE preferred device: NVIDIA GeForce GTX 980 (high power)
    4. 2018-08-31 20:03:34.822 Pictopix[2703:39184] Metal devices available: 1
    5. 2018-08-31 20:03:34.822 Pictopix[2703:39184] 0: NVIDIA GeForce GTX 980 (high power)
    6. 2018-08-31 20:03:34.822 Pictopix[2703:39184] Using device NVIDIA GeForce GTX 980 (high power)
    7. Initializing Metal device caps: NVIDIA GeForce GTX 980
    8. Begin MonoManager ReloadAssembly
    9. - Completed reload, in  0.131 seconds
    10. Receiving unhandled NULL exception
    11. Obtained 21 stack frames.
    12. Mac-Pro:Unity Steph$ cat Player.log
    13. Initialize engine version: 2017.3.0f3 (a9f86dcd79df)
    14. GfxDevice: creating device client; threaded=1
    15. 2018-09-01 13:40:45.425 Pictopix[27935:426236] LG ULTRAWIDE preferred device: NVIDIA GeForce GTX 980 (high power)
    16. 2018-09-01 13:40:45.425 Pictopix[27935:426236] Metal devices available: 1
    17. 2018-09-01 13:40:45.426 Pictopix[27935:426236] 0: NVIDIA GeForce GTX 980 (high power)
    18. 2018-09-01 13:40:45.426 Pictopix[27935:426236] Using device NVIDIA GeForce GTX 980 (high power)
    19. Initializing Metal device caps: NVIDIA GeForce GTX 980
    20. Begin MonoManager ReloadAssembly
    21. - Completed reload, in  0.433 seconds
    22. WARNING: Shader Unsupported: 'Hidden/VideoDecodeOSX' - Pass 'FLIP_RGBARECT_TO_RGBA' has no vertex shader
    23. WARNING: Shader Unsupported: 'Hidden/VideoDecodeOSX' - Setting to default shader.
    24. WARNING: Shader Unsupported: 'Hidden/BlitToDepth' - Pass '' has no vertex shader
    25. WARNING: Shader Unsupported: 'Hidden/BlitToDepth' - Setting to default shader.
    26. WARNING: Shader Unsupported: 'Hidden/BlitToDepth_MSAA' - Pass '' has no vertex shader
    27. WARNING: Shader Unsupported: 'Hidden/BlitToDepth_MSAA' - Setting to default shader.
    28. Receiving unhandled NULL exception
    29. Obtained 3 stack frames.
     
  6. samizzo

    samizzo

    Joined:
    Sep 7, 2011
    Posts:
    487
    Did the macOS crash reporter pop up? If so, you should be able to get a crash log from there.

    Sam
     
  7. Gamrok

    Gamrok

    Joined:
    May 13, 2015
    Posts:
    16
    The player sent me this log:

    Code (CSharp):
    1. 2018-09-03 4:13:15.395 PM launchservicesd[93]: SecTaskLoadEntitlements failed error=22
    2. 2018-09-03 4:13:15.400 PM launchservicesd[93]: SecTaskLoadEntitlements failed error=22
    3. 2018-09-03 4:13:15.403 PM launchservicesd[93]: SecTaskLoadEntitlements failed error=22
    4. 2018-09-03 4:13:15.484 PM appleeventsd[59]: SecTaskLoadEntitlements failed error=22
    5. 2018-09-03 4:13:15.571 PM Pictopix[33256]: LG ULTRAWIDE preferred device: NVIDIA GeForce GTX 980 (high power)
    6. 2018-09-03 4:13:15.571 PM Pictopix[33256]: Metal devices available: 1
    7. 2018-09-03 4:13:15.571 PM Pictopix[33256]: 0: NVIDIA GeForce GTX 980 (high power)
    8. 2018-09-03 4:13:15.571 PM Pictopix[33256]: Using device NVIDIA GeForce GTX 980 (high power)
    9. 2018-09-03 4:13:15.602 PM coreaudiod[223]: SecTaskLoadEntitlements failed error=22
    10. 2018-09-03 4:13:16.049 PM launchservicesd[93]: SecTaskLoadEntitlements failed error=22
    11. 2018-09-03 4:13:18.015 PM identityservicesd[424]: <IMMacNotificationCenterManager: 0x7ff5a9937530>: notification observer: com.apple.iChat   notification: __CFNotification 0x7ff5a9c1d0b0 {name = _NSDoNotDisturbEnabledNotification}
    12. 2018-09-03 4:13:18.029 PM identityservicesd[424]: <IMMacNotificationCenterManager: 0x7ff5a9937530>:    NC Disabled: NO
    13. 2018-09-03 4:13:18.035 PM identityservicesd[424]: <IMMacNotificationCenterManager: 0x7ff5a9937530>:   DND Enabled: YES
    and information about his system:

    Code (CSharp):
    1. OS: 10.11.6 (El capitan)
    2. Processor: 2x3.33Ghz 6-Core Xeon
    3. Memory: 64GB 1333 DDR3 ECC (8x8GB sticks)
    4. Graphics: NVIDIA GeForce GTX 980 4086 MB
    5. Resolution: 2560x1080
    6. Harddrives are Hybrid drives
     
    Last edited: Sep 4, 2018