Parse Error when using Curve

   1781   1   0
User Avatar
Member
7 posts
Joined: Feb. 2017
Offline
Hi Guys

I'd like to bring up this error on the HEngine forum : https://forum.unity.com/threads/houdini-engine-issues-with-curves-in-unity.636139/ [forum.unity.com]

I managed to fix it by forcing the environment culture in HEU_Curve.cs (as seen below)

Attachments:
HEngine_06_a.PNG (41.9 KB)

User Avatar
Member
571 posts
Joined: May 2017
Offline
This is due to a Unity bug: https://forum.unity.com/threads/editor-is-using-windows-locale-settings.442847/ [forum.unity.com]

The plugin has a fix for this but it might not be enabled. In the Houdini Engine Plugin Settings window, enable the Set Current Thread To Invariant Culture.
Then in Unity Player Settings, make sure that the Api Compatibility Level is set to .Net 4.x.

I'll apply your change to the plugin, but with using System.Globalization.CultureInfo.InvariantCulture instead of “en-US”. This should avoid having to do the above setting change.
Edited by seelan - March 11, 2019 13:46:34
  • Quick Links