leegod
October 7, 2010, 6:37am
1
I had a project in unity2.6.
Have imported to 3.0,
New red ! error says [ sActive () !m_RunInEditMode ] continuously,
Assert in file : …..\Runtime\Mono\MonoBehaviour.cpp at line : 470
But I can play game in unity editor.
So I worked on.
Now I want to make test build, when I click File-build settings-hit build,
I point output directory name, appear message [ compiling scripts] but green bar does not fill up,
and then appear building message, but then, just stop and quit to editor with error message sound of window7.
Why?
Is this because of script error?
I have had not these error when I in 2.6.
How to fix?
Thanks!
Hi!
What do you mean by “Have imported to 3.0”
If it means just opening the project in 3.0 I think you might be able to nail the problematic area by exporting packages from 2.6 and importing them to a clean empty project using 3.0
leegod
October 7, 2010, 7:11am
3
I opened project itself on 3.0, checked yes to question that upgrade project to 3.0.
OK
For a somewhat more detailed error message, open the console and click “open editor log”. Might be some clues there?
leegod
October 7, 2010, 8:06am
5
!IsActive () !m_RunInEditMode
UnityEditorInternal.InternalEditorUtility:OpenEditorConsole()
UnityEditor.ConsoleWindow:OnGUI() (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\ConsoleWindow.cs:405)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[ ], Exception)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[ ], CultureInfo)
System.Reflection.MethodBase:Invoke(Object, Object[ ])
UnityEditor.HostView:Invoke(String, Object) (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\GUI\DockArea.cs:212)
UnityEditor.HostView:Invoke(String) (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\GUI\DockArea.cs:205)
UnityEditor.DockArea:OnGUI() (at E:\BuildAgent\work\68355d6e5d19d587\Editor\Mono\GUI\DockArea.cs:630)
!IsActive () !m_RunInEditMode
This error is continuously generated even when not playing game, so I see console window says this error’s counts 11000++
I had the same error, it was caused by the fact that I had copied the following dll’s into my project directory :
UnityEditor.dll, UnityEngine.dll, UnityScript.dll, Boo.lang.dll