Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Ml-Agents IL2CPP compiled binary crashes

Discussion in 'ML-Agents' started by LastSpark, Jun 15, 2021.

  1. LastSpark

    LastSpark

    Joined:
    May 23, 2021
    Posts:
    8
    Hi all,

    I have a simple proof-of-concept, 2d dog-fighting game. There are 2 agents in the scene with a pre-trained brain loaded in for inference. It runs fine when compiled using Mono (and in the editor), but after compiling using IL2CPP the game launches, the Unity Logo Loading Screen pops up before crashing.

    Anyway for me to get logs/investigate what is causing the crash?
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,810
  3. WaxyMcRivers

    WaxyMcRivers

    Joined:
    May 9, 2016
    Posts:
    59
    @LastSpark did you end up figuring out how to train on IL2CPP?

    I know close to nothing about gRPC and have been told that is the primary blocker for getting training to work on IL2CPP - I have a few github links to peoples hack solutions, but am curious if a ML-Agents specific fix has been found.