Jump to content

Unable to use Ge Na Pro Connected Extensions for Splines


slandogames
Go to solution Solved by Manny,

Recommended Posts

Greetings. Trying this out for the first time today. When I try to use the carve extension when creating river or road splines, I get the following error. Any idea what I'm doing wrong?

 

TypeLoadException: Could not load type of field 'GeNa.Core.GeNaMultiTerrainOperation:m_heightmapBrushTransform' (42) due to: Could not resolve type with token 010000f0 from typeref (expected class 'UnityEngine.Experimental.TerrainAPI.BrushTransform' in assembly 'UnityEngine.TerrainModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:UnityEngine.TerrainModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:UnityEngine.Experimental.TerrainAPI.BrushTransform member:(null)
GeNa.Core.TerrainTools.GenerateTerrainEntity (GeNa.Core.TerrainModifier terrainModifier, GeNa.Core.GeNaSpline spline) (at <5ce970bbe05c4aa981e11a77c0e750ab>:0)
GeNa.Core.GeNaCarveExtension.Visualize () (at Assets/Procedural Worlds/GeNa/Scripts/Runtime/Extensions/GeNaCarveExtension.cs:138)
GeNa.Core.GeNaCarveExtension.OnSceneGUI () (at Assets/Procedural Worlds/GeNa/Scripts/Runtime/Extensions/GeNaCarveExtension.cs:95)
GeNa.Core.GeNaSplineExtension.SceneGUI () (at <5ce970bbe05c4aa981e11a77c0e750ab>:0)
GeNa.Core.GeNaSpline.OnSceneGUI () (at <5ce970bbe05c4aa981e11a77c0e750ab>:0)
GeNa.Core.SplineEditor.OnSceneGUI () (at Assets/Procedural Worlds/GeNa/Scripts/Editor/SplineEditor.cs:157)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
UnityEditor.SceneView.CallOnSceneGUI () (at <4e64905d831f4883a53259ef37fb023b>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <4e64905d831f4883a53259ef37fb023b>:0)
UnityEditor.SceneView.DoOnGUI () (at <4e64905d831f4883a53259ef37fb023b>:0)
UnityEditor.SceneView.OnSceneGUI () (at <4e64905d831f4883a53259ef37fb023b>: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 <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <d6d3e943009b43f5918507e063c0198e>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <24cb545f0fda44d7a6fbdc3f90b29dfb>:0)
 

Link to comment
Share on other sites

  • Solution
3 hours ago, slandogames said:

Greetings. Trying this out for the first time today. When I try to use the carve extension when creating river or road splines, I get the following error. Any idea what I'm doing wrong?

 

TypeLoadException: Could not load type of field 'GeNa.Core.GeNaMultiTerrainOperation:m_heightmapBrushTransform' (42) due to: Could not resolve type with token 010000f0 from typeref (expected class 'UnityEngine.Experimental.TerrainAPI.BrushTransform' in assembly 'UnityEngine.TerrainModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null') assembly:UnityEngine.TerrainModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:UnityEngine.Experimental.TerrainAPI.BrushTransform member:(null)
GeNa.Core.TerrainTools.GenerateTerrainEntity (GeNa.Core.TerrainModifier terrainModifier, GeNa.Core.GeNaSpline spline) (at <5ce970bbe05c4aa981e11a77c0e750ab>:0)
GeNa.Core.GeNaCarveExtension.Visualize () (at Assets/Procedural Worlds/GeNa/Scripts/Runtime/Extensions/GeNaCarveExtension.cs:138)
GeNa.Core.GeNaCarveExtension.OnSceneGUI () (at Assets/Procedural Worlds/GeNa/Scripts/Runtime/Extensions/GeNaCarveExtension.cs:95)
GeNa.Core.GeNaSplineExtension.SceneGUI () (at <5ce970bbe05c4aa981e11a77c0e750ab>:0)
GeNa.Core.GeNaSpline.OnSceneGUI () (at <5ce970bbe05c4aa981e11a77c0e750ab>:0)
GeNa.Core.SplineEditor.OnSceneGUI () (at Assets/Procedural Worlds/GeNa/Scripts/Editor/SplineEditor.cs:157)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
UnityEditor.SceneView.CallOnSceneGUI () (at <4e64905d831f4883a53259ef37fb023b>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <4e64905d831f4883a53259ef37fb023b>:0)
UnityEditor.SceneView.DoOnGUI () (at <4e64905d831f4883a53259ef37fb023b>:0)
UnityEditor.SceneView.OnSceneGUI () (at <4e64905d831f4883a53259ef37fb023b>: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 <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <d6d3e943009b43f5918507e063c0198e>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <d6d3e943009b43f5918507e063c0198e>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <24cb545f0fda44d7a6fbdc3f90b29dfb>:0)
 

This issue is related to this topic:

 

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