Skip to main content
New Participant
August 28, 2015

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?
    This topic has been closed for replies.

    1 reply

    Inspiring
    August 28, 2015
    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.