PlayerSettings' does not contain a definition for `useDirect

   6402   2   0
User Avatar
Member
4 posts
Joined: Aug. 2014
Offline
Using unity 5.1.1, Houdini 14.029


Assets/Houdini/Editor/HoudiniCurveGUI.cs(476,53): error CS0117: `PlayerSettings' does not contain a definition for `useDirect3D11'


line 476 // TODO: Clean this up!
if ( PlayerSettings.useDirect3D11 )
{


also line 524 // TODO: Clean this up!
if ( PlayerSettings.useDirect3D11 )
{
User Avatar
Member
4 posts
Joined: Aug. 2014
Offline
But I only get this if I copy the houdini engine assets into my game project, the
actual Houdini Engine Project doesn't have errors.
User Avatar
Member
402 posts
Joined: March 2013
Offline
As a general rule, to avoid duplication, if you're going to submit a bug please don't also post the bug on the forum.

But for everyone's benefit, this problem is due to an out-of-date build or out-of-date Unity scripts. This was a bug some weeks ago just when 5.1.1 came out but was fixed shortly after.
  • Quick Links