Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Bug (Case 1214728) Code Analysis + Memory Profiler packages throws ReflectionTypeLoadException

Discussion in '2019.3 Beta' started by Kichang-Kim, Jan 27, 2020.

  1. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,012
    Hi. I found that when using both Code Analysis and Memory Profiler packages, it throws ReflectionTypeLoadException at every editor open and script recompilation.

    It can be easily reproduced by following steps:
    1. Create empty project.
    2. Add following packages to manifest.json
    "com.unity.visualscripting.entities": "0.2.3-preview",
    "com.unity.memoryprofiler": "0.2.0-preview.1",
    3. You can see ReflectionTypeLoadException in editor console.

    I think that Roslyn DLLs in com.unity.code-analysis packages makes that exception, but not sure.
     
  2. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    1,012