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)

https://issuetracker.unity3d.com/issues/fatal-error-when-launching-project-getmanagerfromcontext-pointer-to-object-of-manager-tagmanager-is-null-table-index-2

(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.

  1. Switch your internet connection off
  2. Load Unity and select a project
  3. Switch your internet connection on
  4. Now within Unity load a new project via File->OpenProject
  5. 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”

  1. Peter Z Yamamoto

    June 22, 2016 at 3:26 am

    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-checker

    I’ve created a new issue with Unity: https://support.unity3d.com/hc/en-us/requests/52666

    Reply

  2. Max

    July 8, 2016 at 12:37 pm

    Excellent. Thank you for this workaround.
    I had the same error while opening a Unity 5.1 project in Unity 5.3.

    Reply

  3. J

    September 22, 2016 at 11:14 pm

    I just hit this error 5.3.5f1, but this got me through it. Thanks!

    Reply

(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)

https://issuetracker.unity3d.com/issues/fatal-error-pointer-to-object-of-manager-monomanager-is-null-while-opening-project

(7)

https://issuetracker.unity3d.com/issues/macos-fatal-error-when-quitting-getmanagerfromcontext-pointer-to-object-of-manager-inputmanager-is-null-table-index-1

(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

https://issuetracker.unity3d.com/issues/getmanagerfromcontext-pointer-to-object-of-manager-monomanager-is-null-table-index-5-when-missing-folders-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.

  1. Switch your internet connection off
  2. Load Unity and select a project
  3. Switch your internet connection on
  4. Now within Unity load a new project via File->OpenProject
  5. 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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值