Search Issue Tracker

Not Reproducible

Votes

0

Found in

2018.1.0a1

2018.1.3f1

Issue ID

1051468

Regression

Yes

GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5) when missing folder's metadata

Scripting

-

How to reproduce:
1. Open cmd
2. Type: "C:\Program Files\2018.1\2018.1.6f1_57cc34175ccf\Editor\Unity.exe" -batchmode -createProject "C:\Users\Jonas Jer\Desktop\Hello\ProjectName"
or something that is equivalent to this line and wait a minute for a project to be created.
3. Type: mkdir "C:\Users\Jonas Jer\Desktop\Hello\ProjectName\Assets\Resources"
to create Resources folder
4. Close Unity process in a task manager.
5. Try opening created project with this line:
"C:\Program Files\2018.1\2018.1.6f1_57cc34175ccf\Editor\Unity.exe"
and selecting project in the editor.

Expected result: When opening a project, metadata is created for Resources folder and it opens successfully
Actual result: GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)
Cannot open the project, since new folder has no metadata.

Reproducible with - 2018.3.0a6, 2018.2.0b9, 2018.1.0a1
Not reproducible with - 2018.3.0a3, 2018.2.0b10, 2017.4.6f1, 2017.2.3p1, 2017.1.4p2

Comments (4)

  1. Savarin

    Mar 16, 2021 11:22

    I'm currently not able to build on Android due to this error, here is a post with more people facing this same problem

    https://forum.unity.com/threads/getmanagerfromcontext-pointer-to-object-of-manager-monomanager-is-null.1056650/

    Unfortunately at the moment I'm writing this there is still not a solution

  2. ohthepain

    Feb 25, 2021 21:44

    We started getting this today on our build machine on 2019.4.15f1. The most recent two builds have both failed with this error.

  3. unity_65A29711696E21C46938

    Feb 10, 2021 21:35

    Having the same problem as FMODESTO 2019.4.17f1 at the tail-end of an Android binary compilation...

  4. fmodesto

    Feb 05, 2021 13:43

    The issue still happens on 2019.4.15f1.

    Observed at the tail-end of an Android binary compilation while running in batch mode.

    Aborting batchmode due to failure:
    Fatal Error! GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)
    GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)
    (Filename: C:\buildslave\unity\build\Runtime/BaseClasses/ManagerContext.cpp Line: 89)
    Fatal Error! GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)
    (Filename: C:\buildslave\unity\build\Runtime/Utilities/Argv.cpp Line: 376)

    Is infrequent but recurring.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.