Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi 5.0 not usable on 2020.1.0a14
#1
Just upgraded to 5.0 and wanted to take a look at the new sample scenes to look at the new way of doing things.
Neither cloth or rope sample scenes load. 
Instead unity instant crashes ( without even showing the error report sending button ).
The unity log just shows these as the last log lines:

Opening scene 'Assets/Obi/Samples/Cloth/CharacterCloth.unity'
Serialization depth limit 7 exceeded at 'Obi::ObiConstraints`1.actor'. There may be an object composition cycle in one or more of your serialized classes.

Serialization hierarchy:
8: Obi::ObiConstraints`1.actor
7: Obi::ObiConstraints`1.source
6: Obi::ObiConstraints`1.source
5: Obi::ObiConstraints`1.source
4: Obi::ObiConstraints`1.source
3: Obi::ObiConstraints`1.source
2: Obi::ObiConstraints`1.source
1: Obi::ObiConstraints`1.source
 
(Filename: C:\buildslave\unity\build\Runtime/Mono/SerializationBackend_DirectMemoryAccess/ShouldTransferField.cpp Line: 121)

Probably need to revert to obi 4 for the time being. The dangers of using unity alphas I guess. Hope it's easy to fix. Guiño

Btw: Apparently unity changed the way packages work also. If I import cloth package then rope package the second package tries to delete all the scripts from the cloth package not included. So I had to copy the cloth folder out of assets then import rope and then merge the folders in the explorer.


EDIT: Tried creating a cloth blueprint. Samish error but full stacktrace:

StackOverflowException: The requested operation caused a stack overflow.
at (wrapper managed-to-native) UnityEditor.SerializedObject.InternalCreate(UnityEngine.Object[],UnityEngine.Object)
at UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs, UnityEngine.Object context) [0x00008] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.Editor.CreateSerializedObject () [0x00009] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.Editor.GetSerializedObjectInternal () [0x0000f] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.Editor.get_serializedObject () [0x00018] in <f77adbe680d5435ab56e2403863ec057>:0
at Obi.ObiParticleSelectionEditorTool.InitializeGroupsList () [0x00000] in Z:\Projects\BH\Assets\Obi\Editor\Common\Blueprints\BlueprintEditorTools\ObiParticleSelectionEditorTool.cs:45
at Obi.ObiParticleSelectionEditorTool..ctor (Obi.ObiActorBlueprintEditor editor) [0x00068] in Z:\Projects\BH\Assets\Obi\Editor\Common\Blueprints\BlueprintEditorTools\ObiParticleSelectionEditorTool.cs:31
at (wrapper managed-to-native) UnityEditor.SerializedObject.InternalCreate(UnityEngine.Object[],UnityEngine.Object)
at UnityEditor.SerializedObject..ctor (UnityEngine.Object[] objs, UnityEngine.Object context) [0x00008] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.Editor.CreateSerializedObject () [0x00009] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.Editor.GetSerializedObjectInternal () [0x0000f] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.Editor.get_serializedObject () [0x00018] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.UIElements.InspectorElement..ctor (UnityEditor.Editor editor, UnityEditor.UIElements.InspectorElement+Mode mode) [0x00071] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.UIElements.EditorElement.Init () [0x00042] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.UIElements.EditorElement..ctor (System.Int32 editorIndex, UnityEditor.InspectorWindow iw) [0x0001e] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.InspectorWindow.DrawEditors (UnityEditor.Editor[] editors) [0x00212] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.InspectorWindow.RebuildContentsContainers () [0x00164] in <f77adbe680d5435ab56e2403863ec057>:0
at (wrapper managed-to-native) UnityEditor.ActiveEditorTracker.Internal_VerifyModifiedMonoBehaviours(UnityEditor.ActiveEditorTracker)
at UnityEditor.ActiveEditorTracker.VerifyModifiedMonoBehaviours () [0x00001] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.InspectorWindow.OnInspectorUpdate () [0x00007] in <f77adbe680d5435ab56e2403863ec057>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at (wrapper managed-to-native) UnityEditor.ActiveEditorTracker.Internal_VerifyModifiedMonoBehaviours(UnityEditor.ActiveEditorTracker)
at UnityEditor.ActiveEditorTracker.VerifyModifiedMonoBehaviours () [0x00001] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.InspectorWindow.OnInspectorUpdate () [0x00007] in <f77adbe680d5435ab56e2403863ec057>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at (wrapper managed-to-native) UnityEditor.ActiveEditorTracker.Internal_VerifyModifiedMonoBehaviours(UnityEditor.ActiveEditorTracker)
at UnityEditor.ActiveEditorTracker.VerifyModifiedMonoBehaviours () [0x00001] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.InspectorWindow.OnInspectorUpdate () [0x00007] in <f77adbe680d5435ab56e2403863ec057>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at (wrapper managed-to-native) UnityEditor.ActiveEditorTracker.Internal_VerifyModifiedMonoBehaviours(UnityEditor.ActiveEditorTracker)
at UnityEditor.ActiveEditorTracker.VerifyModifiedMonoBehaviours () [0x00001] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.InspectorWindow.OnInspectorUpdate () [0x00007] in <f77adbe680d5435ab56e2403863ec057>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at (wrapper managed-to-native) UnityEditor.ActiveEditorTracker.Internal_VerifyModifiedMonoBehaviours(UnityEditor.ActiveEditorTracker)
at UnityEditor.ActiveEditorTracker.VerifyModifiedMonoBehaviours () [0x00001] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.InspectorWindow.OnInspectorUpdate () [0x00007] in <f77adbe680d5435ab56e2403863ec057>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at (wrapper managed-to-native) UnityEditor.ActiveEditorTracker.Internal_VerifyModifiedMonoBehaviours(UnityEditor.ActiveEditorTracker)
at UnityEditor.ActiveEditorTracker.VerifyModifiedMonoBehaviours () [0x00001] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.InspectorWindow.OnInspectorUpdate () [0x00007] in <f77adbe680d5435ab56e2403863ec057>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at (wrapper managed-to-native) UnityEditor.ActiveEditorTracker.Internal_VerifyModifiedMonoBehaviours(UnityEditor.ActiveEditorTracker)
at UnityEditor.ActiveEditorTracker.VerifyModifiedMonoBehaviours () [0x00001] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.InspectorWindow.OnInspectorUpdate () [0x00007] in <f77adbe680d5435ab56e2403863ec057>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <437ba245d8404784b9fbab9b439ac908>:0
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0
at UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) [0x0000f] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.HostView.Invoke (System.String methodName) [0x00001] in <f77adbe680d5435ab56e2403863ec057>:0
at UnityEditor.HostView.OnInspectorUpdate () [0x00001] in <f77adbe680d5435ab56e2403863ec057>:0

(Filename: <f77adbe680d5435ab56e2403863ec057> Line: 0)

Serialization depth limit 7 exceeded at 'Obi::ObiConstraints`1.actor'. There may be an object composition cycle in one or more of your serialized classes.

Serialization hierarchy:
8: Obi::ObiConstraints`1.actor
7: Obi::ObiConstraints`1.source
6: Obi::ObiConstraints`1.source
5: Obi::ObiConstraints`1.source
4: Obi::ObiConstraints`1.source
3: Obi::ObiConstraints`1.source
2: Obi::ObiConstraints`1.source
1: Obi::ObiConstraints`1.source

UnityEditor.ActiveEditorTracker:Internal_VerifyModifiedMonoBehaviours(ActiveEditorTracker)
UnityEditor.ActiveEditorTracker:VerifyModifiedMonoBehaviours()
UnityEditor.InspectorWindow:OnInspectorUpdate()
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)
UnityEditor.HostView:Invoke(String)
UnityEditor.HostView:OnInspectorUpdate()

[C:\buildslave\unity\build\Runtime/Mono/SerializationBackend_DirectMemoryAccess/ShouldTransferField.cpp line 121]
(Filename: C:\buildslave\unity\build\Runtime/Mono/SerializationBackend_DirectMemoryAccess/ShouldTransferField.cpp Line: 121)
Reply


Messages In This Thread
Obi 5.0 not usable on 2020.1.0a14 - by ibbybn - 29-11-2019, 01:09 AM
RE: Obi 5.0 not usable on 2020.1.0a14 - by ibbybn - 29-11-2019, 12:48 PM