FlaShG / GitMerge-for-Unity

Unity plugin for merging sceneand prefabs files when using git.
GNU General Public License v2.0
201 stars 27 forks source link

Crash on merging prefab #47

Open narlee opened 9 years ago

narlee commented 9 years ago

when added prefab to merge with some components

1

throw this: 2

many times (~226):

Actor::updateMassFromShapes: Compute mesh inertia tensor failed for one of the actor's mesh shapes! Please change mesh geometry or supply a tensor manually! UnityEditor.PrefabUtility:InstantiatePrefab(Object) GitMerge.MergeManagerPrefab:InitializeMerge(GameObject) (at Assets\Editor\MergeManagerPrefab.cs:48) GitMerge.GitMergeWindow:OnGUIPrefabTab() (at Assets\Editor\GitMergeWindow.cs:165) GitMerge.GitMergeWindow:OnGUI() (at Assets\Editor\GitMergeWindow.cs:124) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115) UnityEditor.HostView:Invoke(String, Object) (at C:\BuildAgent\work\d63dfc6385190b60\Editor\Mono\GUI\DockArea.cs:244) UnityEditor.HostView:Invoke(String) (at C:\BuildAgent\work\d63dfc6385190b60\Editor\Mono\GUI\DockArea.cs:237) UnityEditor.DockArea:OnGUI() (at C:\BuildAgent\work\d63dfc6385190b60\Editor\Mono\GUI\DockArea.cs:674)

[....\Physics\src\NpActor.cpp line 134](Filename: Assets/Editor/MergeManagerPrefab.cs Line: 48)

... Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.065083 seconds (Nothing changed) Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.067996 seconds (Nothing changed) Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.054364 seconds (Nothing changed) Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.054004 seconds (Nothing changed) Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.062081 seconds (Nothing changed) Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.057903 seconds (Nothing changed)

narlee commented 9 years ago

and when aborting - thwos this (820 times):

Actor::updateMassFromShapes: Compute mesh inertia tensor failed for one of the actor's mesh shapes! Please change mesh geometry or supply a tensor manually! UnityEditor.PrefabUtility:ResetToPrefabState(Object) GitMerge.MergeAction:RefreshPrefabInstance() (at Assets/Editor/MergeAction.cs:94) GitMerge.MergeAction:UseOurs() (at Assets/Editor/MergeAction.cs:55) GitMerge.GameObjectMergeActions:UseOurs() (at Assets/Editor/GameObjectMergeActions.cs:254) GitMerge.MergeManager:AbortMerge() (at Assets/Editor/MergeManager.cs:114) GitMerge.MergeManagerPrefab:AbortMerge() (at Assets/Editor/MergeManagerPrefab.cs:129) GitMerge.GitMergeWindow:DrawTabButtons() (at Assets/Editor/GitMergeWindow.cs:220) GitMerge.GitMergeWindow:OnGUI() (at Assets/Editor/GitMergeWindow.cs:115) UnityEditor.DockArea:OnGUI()