Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Marcus_Magno's avatar
Marcus_Magno
Honored Guest
11 years ago

Unity 5.1.2 w/ 0.1.0 beta MoviePlayerSampe.cs from 0.6.1 SDK

Hi,

I am using 5.1.2, with 0.1.0 beta integration. Is it possible to load 0.6.1 samples to work together?

I want to use the MoviePlayerSample.cs script but it does not seem to work.
it shoots error on the line 129:
eventBase = System.Enum.GetValues(typeof(RenderEventType)).Length;

which was on the 0.6.1 sdk for Unity 4.6.7 on ovr folder

How can I make this work out?

1 Reply

Replies have been turned off for this discussion
  • The movie player sample is not present in Utilities 0.1.0, so there is not yet a way to use it with Unity 5. It isn't as simple as merging a script, since there is a native plugin that manages the decoding. We are planning to include it in our upcoming Utilities release, so you shoouldn't have to wait more than 1-2 weeks.