Jump to content

Error with Gena


DKnight
 Share

Recommended Posts

I open the Gena Manager and i see the following. Gaia Pro and GTS are both installed. 
 

image.thumb.png.181d46582548fb054742de7852861a9e.png

in the console, i am seeing the following errors.

image.png.c0b5562ff17f6c6f476133221275e5b0.png

TypeLoadException: Could not resolve type with token 010000b1 from typeref (expected class 'UnityEngine.Experimental.TerrainAPI.TerrainCallbacks' in assembly 'UnityEngine.TerrainModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
GeNa.Core.GeNaManagerEditor.OnEnable () (at Assets/Procedural Worlds/GeNa/Scripts/Editor/GeNaManagerEditor.cs:66)
UnityEditor.EditorWindow:GetWindow(Boolean, String)
GeNa.Core.GeNaManagerEditor:MenuGeNaMainWindow() (at Assets/Procedural Worlds/GeNa/Scripts/Editor/GeNaManagerEditor.cs:42)
GeNa.Core.GeNaManagerSceneEditor:ShowGeNaManager() (at Assets/Procedural Worlds/GeNa/Scripts/Editor/GeNaManagerSceneEditor.cs:157)
GeNa.Core.GeNaManagerSceneEditor:ManagerPanel(Boolean) (at Assets/Procedural Worlds/GeNa/Scripts/Editor/GeNaManagerSceneEditor.cs:130)
PWCommon5.EditorUtils:Panel(GUIContent, String, Action`1, GUIStyle, Boolean, Boolean, Boolean, GUILayoutOption[])
PWCommon5.EditorUtils:Panel(GUIContent, String, Action`1, Boolean, Boolean, Boolean, GUILayoutOption[])
PWCommon5.EditorUtils:Panel(String, Action`1, Boolean, GUILayoutOption[])

 

NullReferenceException: Object reference not set to an instance of an object
PWCommon5.EditorUtils.Tabs (PWCommon5.TabSet tabs, UnityEngine.GUILayoutOption[] options) (at <5e780e565d3b4b63836c767b4e8e9d7f>:0)
GeNa.Core.GeNaManagerEditor.OnGUI () (at Assets/Procedural Worlds/GeNa/Scripts/Editor/GeNaManagerEditor.cs:90)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <780782bc035845f9909cebbd4c983ae3>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <780782bc035845f9909cebbd4c983ae3>:0)
UnityEditor.DockArea.OldOnGUI () (at <780782bc035845f9909cebbd4c983ae3>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
 

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
 

NullReferenceException: Object reference not set to an instance of an object
PWCommon5.EditorUtils.Tabs (PWCommon5.TabSet tabs, UnityEngine.GUILayoutOption[] options) (at <5e780e565d3b4b63836c767b4e8e9d7f>:0)
GeNa.Core.GeNaManagerEditor.OnGUI () (at Assets/Procedural Worlds/GeNa/Scripts/Editor/GeNaManagerEditor.cs:90)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <780782bc035845f9909cebbd4c983ae3>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <780782bc035845f9909cebbd4c983ae3>:0)
UnityEditor.DockArea.OldOnGUI () (at <780782bc035845f9909cebbd4c983ae3>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at 

 

NullReferenceException: Object reference not set to an instance of an object
PWCommon5.EditorUtils.Tabs (PWCommon5.TabSet tabs, UnityEngine.GUILayoutOption[] options) (at <5e780e565d3b4b63836c767b4e8e9d7f>:0)
GeNa.Core.GeNaManagerEditor.OnGUI () (at Assets/Procedural Worlds/GeNa/Scripts/Editor/GeNaManagerEditor.cs:90)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at <780782bc035845f9909cebbd4c983ae3>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at <780782bc035845f9909cebbd4c983ae3>:0)
UnityEditor.DockArea.OldOnGUI () (at <780782bc035845f9909cebbd4c983ae3>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateEvent (UnityEngine.UIElements.EventBase evt) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.SendEventToRegularTarget (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.SendEventToTarget (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel iPanel) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <f23cc42ed8af4b73afc7c74ab921aa08>:0)
UnityEngine.UIElem

 

 

Link to comment
Share on other sites

Hey there @DKnight,

This is actually a known issue with Unity as they have moved their 'TerrainCallbacks' utility that GeNa depends on currently to a new namespace in later versions of Unity.
image.png

If you have recently moved the GeNa files into a new project, this can actually cause the DLL that comes with GeNa to not be re-compiled with the correct define symbols. You will need to re-import GeNa into your project and select "Yes" when prompted to re-compile the DLL.

Give it a try and let me know how it goes!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...