sideeffects / HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.
http://www.sidefx.com/unreal
Other
1.32k stars 370 forks source link

Cannot install Houdini Engine for H Indie on Centos #86

Open djczaps opened 5 years ago

djczaps commented 5 years ago

unreal4 20_openningerror Hi

I purchased Houdini Indie recently to be able to play with Houdini Engine in Unreal. However I have a problem installing HoudiniEngine plugin. I cloned contained folders into /Engine/Plugins/Runtime - created folder HoudiniEngine and copied there plugin contained files. When I'm trying generate project files for Unreal I get those messages :

Generating data for project indexing... 0%Houdini Engine : Please install Houdini or Houdini Engine 16.5.603 Couldn't find the HAPI include folder! Houdini Engine : Please install Houdini or Houdini Engine 16.5.603 Couldnt find the HAPI include folder! Houdini Engine : Please install Houdini or Houdini Engine 16.5.603 Couldn't find the HAPI include folder! Houdini Engine : Please install Houdini or Houdini Engine 16.5.603 Couldnt find the HAPI include folder! 100% Writing project files... 100%

Should I extract the files to the other folders like Source , Resources in the main Unreal folder ?

Houdini environment is set and working .

Any help will be appreciated.

thanks

Dawid

djczaps commented 5 years ago

finally I was able to install HoudiniEnginePlugin somehow doing also 'make" command before GeneratingsProjectFiles.sh helped. However I have all the icons greyed out of HoudiniEngile in the File section in Unreal 4.20.2 . When I try to drag the Houdini Digital asset into Unreal I can see the Houdini logo 3d and icon but not an asset. Here is what showing :

Houdini Installation was not detected.Failed to locate or load libHAPIL.so. No cooking / instantiation will take place.

In the project section of the Houdini Engine correct path is detected and pointing to the right folders etc.

h1 h2

djczaps commented 5 years ago

I discovered that it might be a HoudiniEngine plugin started and then failed to initialize correctly. Below is the output from Terminal to debug it :

[2018.09.25-11.38.49:006][ 0]SourceControl: Source control is disabled [2018.09.25-11.38.49:007][ 0]SourceControl: Source control is disabled [2018.09.25-11.38.49:232][ 0]SourceControl: Source control is disabled [2018.09.25-11.38.49:447][ 0]SourceControl: Source control is disabled [2018.09.25-11.38.55:762][ 0]LogAndroidPermission: UAndroidPermissionCallbackProxy::GetInstance [2018.09.25-11.38.57:674][ 0]LogHoudiniEngine: Starting the Houdini Engine module. [2018.09.25-11.38.57:675][ 0]LogHoudiniEngine: Loaded libHAPIL.so from custom path /opt/hfs16.5.603/dsolib/ Thrift: Tue Sep 25 13:39:00 2018 TSocket::open() connect() <Host: localhost Port: 9090>Connection refused [2018.09.25-11.39.00:721][ 0]LogHoudiniEngine: Error: Failed to create a Houdini Engine session [2018.09.25-11.39.00:721][ 0]LogHoudiniEngine: Starting up the Houdini Engine API module failed: Already Initialized [2018.09.25-11.39.01:078][ 0]LogEngine: Initializing Engine... Unable to read VR Path Registry from /home/djczaps/.config/openvr/openvrpaths.vrpath Unable to read VR Path Registry from /home/djczaps/.config/openvr/openvrpaths.vrpath [2018.09.25-11.39.01:079][ 0]LogHMD: Failed to initialize OpenVR with code 110 [2018.09.25-11.39.01:081][ 0]LogStats: UGameplayTagsManager::ConstructGameplayTagTree: ImportINI prefixes - 0.000 s [2018.09.25-11.39.01:081][ 0]LogStats: UGameplayTagsManager::ConstructGameplayTagTree: Construct from data asset - 0.000 s [2018.09.25-11.39.01:081][ 0]LogStats: UGameplayTagsManager::ConstructGameplayTagTree: ImportINI - 0.000 s [2018.09.25-11.39.01:081][ 0]LogStats: UGameplayTagsManager::ConstructGameplayTagTree: GameplayTagTreeChangedEvent.Broadcast - 0.000 s [2018.09.25-11.39.01:500][ 0]LogInit: Initializing FReadOnlyCVARCache [2018.09.25-11.39.02:266][ 0]LogAIModule: Creating AISystem for world Untitled [2018.09.25-11.39.02:282][ 0]LogAudioMixer: Display: Audio Mixer Platform Settings: [2018.09.25-11.39.02:282][ 0]LogAudioMixer: Display: Sample Rate: 48000 [2018.09.25-11.39.02:282][ 0]LogAudioMixer: Display: Callback Buffer Frame Size Requested: 1024 [2018.09.25-11.39.02:282][ 0]LogAudioMixer: Display: Callback Buffer Frame Size To Use: 1024 [2018.09.25-11.39.02:282][ 0]LogAudioMixer: Display: Number of buffers to queue: 2 [2018.09.25-11.39.02:282][ 0]LogAudioMixer: Display: Max Channels (voices): 0 [2018.09.25-11.39.02:282][ 0]LogAudioMixer: Display: Number of Async Source Workers: 0 [2018.09.25-11.39.02:283][ 0]LogAudioMixer: Display: Initializing audio mixer. [2018.09.25-11.39.02:304][ 0]LogAudioMixerSDL: Display: Initialized SDL using pulseaudio platform API backend. [2018.09.25-11.39.02:557][ 0]LogInit: FAudioDevice initialized. [2018.09.25-11.39.02:557][ 0]LogNetVersion: Set ProjectVersion to 1.0.0.0. Version Checksum will be recalculated on next use. [2018.09.25-11.39.02:633][ 0]LogDerivedDataCache: Saved boot cache 0.07s 85MB ../../../../Unreal Projects/SkyRIgHoudini/DerivedDataCache/Boot.ddc. [2018.09.25-11.39.02:728][ 0]LogInit: Texture streaming: Enabled [2018.09.25-11.39.03:131][ 0]LogEngineSessionManager: EngineSessionManager initialized [2018.09.25-11.39.03:811][ 0]LogInit: Transaction tracking system initialized [2018.09.25-11.39.05:137][ 0]BlueprintLog: New page: Editor Load [2018.09.25-11.39.09:049][ 0]LocalizationService: Localization service is disabled [2018.09.25-11.39.11:670][ 0]LogFileCache: Scanning file cache for directory '/home/djczaps/Documents/Unreal Projects/SkyRIgHoudini/Content/' took 0.00s

djczaps commented 5 years ago

it looks like sourcing houdini_setup from the same terminal from running later Unreal will fix the issue. Also make sure sourcing houdini_setup as a regular user. Now Unreal will recognize Houdini Digital Assets and all the menus here ! ;)

djczaps commented 5 years ago

Also I've noticed that I need to generateProjectFiles.sh each time after I source houdini_setup and run Unreal from the same Shell/Terminal to make it work with detecting and running HEngine plugin / HARS.

After reboot You need to repeat the procedure each time which is annoying but we can live with that ;)

resinbeard commented 3 years ago

Thanks, this helped me a lot!