GetManagerFromContext: pointer to object of manager MonoManager is NULL - - table index 5
(1)
bing GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)
(2)
https://issuetracker.unity3d.com/issues/unity-crash-on-launch-caused-by-update-checker
(3)
(4)
Unity3D Fatal Error on Startup Workaround
http://trusteddevelopments.com/2015/06/26/unity3d-fatal-error-on-startup-workaround/
This morning starting up Unity 5.1.0 greeted me with the following message and a blank project selection window (I have unity configured to ask me which project to load on startup)
Fatal error!
GetManagerFromContext: pointer to object of manager ‘(null)’ is NULL (table index 5)
Update
Confirmation from Unity that this is a bug in the updater and they have now disabled this server side checking for versions 5.1.0f3 – 5.1.1f1 so hopefully that’s the last we see of it!
Solution
Many thanks to @Rusty_Bolt on twitter who tweeted to suggest switching WiFi/Internet off which lead me to the following steps. Switching WiFi off would indeed allow unity to start, however after quitting and starting again if WiFi was on (usually is!) it would crash again.
- Switch your internet connection off
- Load Unity and select a project
- Switch your internet connection on
- Now within Unity load a new project via File->OpenProject
- Quit unity
Hopefully now when you start unity everything is back to normal!
Other things I tried
As part of trying to track this down I tried the following, none of which helped.
- Delete all unity settings from ~/Library/Preferences
- Delete my Unity license file from Library/Application Support/PACE Anti-Piracy/License Files see link
- Moved all of my unity projects to a different location to ensure they were not involved
- Deleted Unity
- Installed Unity
Post navigation
Previous PostUnity3D Canvas Render Order AnomaliesNext PostUnity3D HingeJoint2D reference angles and setting rotation in script.
3 thoughts on “Unity3D Fatal Error on Startup Workaround”
-
I’m seeing this in 5.3.4p3, thank you for posting this.
There was an existing ticket that is marked fixed: https://issuetracker.unity3d.com/issues/unity-crash-on-launch-caused-by-update-checkerI’ve created a new issue with Unity: https://support.unity3d.com/hc/en-us/requests/52666
-
Max
Excellent. Thank you for this workaround.
I had the same error while opening a Unity 5.1 project in Unity 5.3. -
J
September 22, 2016 at 11:14 pm
I just hit this error 5.3.5f1, but this got me through it. Thanks!
(5)
https://github.com/mitmadness/AssetBundleCompiler/issues/5
I don't understand exactly why but I added the line fsx.Remove in copyEditorScript and that solves the problem. Basically after copyEditorScript runs something is corrupt. Removing /Library/metadata immediately after solves it.
function warmupProject(context) {
return __awaiter(this, void 0, void 0, function* () {
if (yield shouldCreateProject()) {
yield unity.createProject(exports.ProjectDirectory);
yield copyEditorScript();
yield fsx.remove(path.resolve(${exports.ProjectDirectory}/Library/metadata
));
}
yield fsx.mkdir(context.editorScriptsDir);
yield fsx.mkdir(context.assetsDir);
yield fsx.mkdir(context.assetBundleDir);
});
}
(6)
(7)
(8)
https://ameblo.jp/mfukushima/entry-12316903953.html
(9)
https://ameblo.jp/mfukushima/entry-12316903953.html
(10)
GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5) when missing folder's metadata
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
(11)
https://forum.unity.com/threads/unity-crashes-on-startup-with-strange-error.265425/
I just finally fixed it!!
here: http://trusteddevelopments.com/2015/06/26/unity3d-fatal-error-on-startup-workaround/
(12)
[转]UNITY3D FATAL ERROR ON STARTUP WORKAROUND
https://www.jianshu.com/p/832dcfdcff25
不得不表示这是个很神奇的问题, 最近在开发时候碰到(5.3.6)‘Fatal error!GetManagerFromContext: pointer to object of manager ‘(null)’ is NULL (table index 5)’,解决方案也很神奇,分享给大家。
This morning starting up Unity 5.1.0 greeted me with the following message and a blank project selection window (I have unity configured to ask me which project to load on startup)
Fatal error!GetManagerFromContext: pointer to object of manager ‘(null)’ is NULL (table index 5)
Update
Confirmation from Unity that this is a bug in the updater and they have now disabled this server side checking for versions 5.1.0f3 – 5.1.1f1 so hopefully that’s the last we see of it!
Solution
Many thanks to @Rusty_Bolt on twitter who tweeted to suggest switching WiFi/Internet off which lead me to the following steps. Switching WiFi off would indeed allow unity to start, however after quitting and starting again if WiFi was on (usually is!) it would crash again.
Switch your internet connection off 。断网
Load Unity and select a project 重开unity
Switch your internet connection on 开启网络
Now within Unity load a new project via File->OpenProject
Quit unity
Hopefully now when you start unity everything is back to normal
Other things I tried
As part of trying to track this down I tried the following, none of which helped.
Delete all unity settings from ~/Library/Preferences
Delete my Unity license file from Library/Application Support/PACE Anti-Piracy/License Files see link
Moved all of my unity projects to a different location to ensure they were not involved
Deleted Unity
Installed Unity
(13)
Unity3D Fatal Error on Startup Workaround
http://trusteddevelopments.com/2015/06/26/unity3d-fatal-error-on-startup-workaround/
his morning starting up Unity 5.1.0 greeted me with the following message and a blank project selection window (I have unity configured to ask me which project to load on startup)
Fatal error!
GetManagerFromContext: pointer to object of manager ‘(null)’ is NULL (table index 5)
Update
Confirmation from Unity that this is a bug in the updater and they have now disabled this server side checking for versions 5.1.0f3 – 5.1.1f1 so hopefully that’s the last we see of it!
Solution
Many thanks to @Rusty_Bolt on twitter who tweeted to suggest switching WiFi/Internet off which lead me to the following steps. Switching WiFi off would indeed allow unity to start, however after quitting and starting again if WiFi was on (usually is!) it would crash again.
- Switch your internet connection off
- Load Unity and select a project
- Switch your internet connection on
- Now within Unity load a new project via File->OpenProject
- Quit unity
Hopefully now when you start unity everything is back to normal!
Other things I tried
As part of trying to track this down I tried the following, none of which helped.
- Delete all unity settings from ~/Library/Preferences
- Delete my Unity license file from Library/Application Support/PACE Anti-Piracy/License Files see link
- Moved all of my unity projects to a different location to ensure they were not involved
- Deleted Unity
- Installed Unity