Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
bjorn.syse's avatar
bjorn.syse
Protege
7 years ago

Compiler error with latest Oculus integration. AudioManager.cs

Hi, I get these compiler errors using the latest oculus integration 1.40

Assets\Oculus\AudioManager\Scripts\Audio\AudioManager.cs(349,26): error CS0029: Cannot implicitly convert type 'System.Type' to 'Type'
Assets\Oculus\AudioManager\Scripts\Audio\AudioManager.cs(350,39): error CS1061: 'Type' does not contain a definition for 'GetMethod' and no accessible extension method 'GetMethod' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
Assets\Oculus\AudioManager\Scripts\Audio\AudioManager.cs(379,26): error CS0029: Cannot implicitly convert type 'System.Type' to 'Type'
Assets\Oculus\AudioManager\Scripts\Audio\AudioManager.cs(380,39): error CS1061: 'Type' does not contain a definition for 'GetMethod' and no accessible extension method 'GetMethod' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)
Assets\Oculus\AudioManager\Scripts\Audio\AudioManager.cs(416,26): error CS0029: Cannot implicitly convert type 'System.Type' to 'Type'
Assets\Oculus\AudioManager\Scripts\Audio\AudioManager.cs(417,39): error CS1061: 'Type' does not contain a definition for 'GetMethod' and no accessible extension method 'GetMethod' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)

I've tried with unity 2019.2 an 2019.2.3f1

Can't understand what this is, anyoneelse have this?

1 Reply

  • Hey, did you ever find a solution to this?  I'm running into the exact same problem.