Hey there. It does not appear to be possible to input terrain with the newest HEU (16.5.656) in Unity 2018.2, I get the error
No input interface found for gameobject: Terrain. Skipping upload!
UnityEngine.Debug:LogWarningFormat(String, Object)
HoudiniEngineUnity.HEU_InputUtility:CreateInputNodeWithMultiObjects(HEU_SessionBase, Int32, Int32&, List`1&, List`1&, Boolean) (at Assets/Plugins/HoudiniEngineUnity/Scripts/Utility/HEU_InputUtility.cs:205)
HoudiniEngineUnity.HEU_InputNode:UploadInput(HEU_SessionBase) (at Assets/Plugins/HoudiniEngineUnity/Scripts/Asset/HEU_InputNode.cs:304)
HoudiniEngineUnity.HEU_Parameters:UploadValuesToHoudini(HEU_SessionBase, HEU_HoudiniAsset, Boolean) (at Assets/Plugins/HoudiniEngineUnity/Scripts/Parameters/HEU_Parameters.cs:986)
HoudiniEngineUnity.HEU_HoudiniAsset:InternalStartRecook(Boolean, Boolean, Boolean, Boolean) (at Assets/Plugins/HoudiniEngineUnity/Scripts/Asset/HEU_HoudiniAsset.cs:1181)
HoudiniEngineUnity.HEU_HoudiniAsset:RecookBlocking(Boolean, Boolean, Boolean, Boolean) (at Assets/Plugins/HoudiniEngineUnity/Scripts/Asset/HEU_HoudiniAsset.cs:989)
HoudiniEngineUnity.HEU_HoudiniAsset:RequestCook(Boolean, Boolean, Boolean, Boolean) (at Assets/Plugins/HoudiniEngineUnity/Scripts/Asset/HEU_HoudiniAsset.cs:649)
HoudiniEngineUnity.HEU_HoudiniAssetUI:OnInspectorGUI() (at Assets/Plugins/HoudiniEngineUnity/Editor/UI/HEU_HoudiniAssetUI.cs:226)
UnityEngine.GUIUtilityrocessEvent(Int32, IntPtr)
But I have noticed that all the features for terrain in the docs are aimed at the terrain in Unity 2018.3
Is the newest HEU version only compatible with the still-beta 2018.3 version of Unity?
Terrain input not working in Unity 2018.2
2143 5 1- MartinBaadsgaard
- Member
- 52 posts
- Joined: Nov. 2016
- Offline
- seelan
- Member
- 571 posts
- Joined: May 2017
- Offline
It should work if the input object is a GameObject with a Terrain Component. The warning you pasted leads me to believe that the Terrain input script wasn't registered with the input utility.
Have you tried restarting Unity? It should register the terrain input script when the Editor is loaded, or when scripts are recompiled. Maybe something got mangled.
If that doesn't work, could you uncomment the Debug.Log line 77 in Assets/Plugins/HoudiniEngineUnity/Scripts/Utility/HEU_InputInterfaceTerrain.cs? Save it, then in Editor after the scripts are reloaded, do you get any log starting with: "Registered …"?
Note that the Unity terrain currently supported by the plugin is pre 2018.3., so 2018.2 terrain should work.
Have you tried restarting Unity? It should register the terrain input script when the Editor is loaded, or when scripts are recompiled. Maybe something got mangled.
If that doesn't work, could you uncomment the Debug.Log line 77 in Assets/Plugins/HoudiniEngineUnity/Scripts/Utility/HEU_InputInterfaceTerrain.cs? Save it, then in Editor after the scripts are reloaded, do you get any log starting with: "Registered …"?
Note that the Unity terrain currently supported by the plugin is pre 2018.3., so 2018.2 terrain should work.
- seelan
- Member
- 571 posts
- Joined: May 2017
- Offline
- MartinBaadsgaard
- Member
- 52 posts
- Joined: Nov. 2016
- Offline
- seelan
- Member
- 571 posts
- Joined: May 2017
- Offline
Those layers correspond to the splat maps, which are created from Houdini's heightfield layers, so hence the name. Also the UI is just exposing the underlying terrain splat maps to the top-level plugin UI. Nothing to do with 2018.3 terrain really, and its somewhat of a coincidence that it seems similar.
- MartinBaadsgaard
- Member
- 52 posts
- Joined: Nov. 2016
- Offline
-
- Quick Links