vimeo / vimeo-unity-sdk

Easily stream your Vimeo videos into Unity or record and publish out to Vimeo.
MIT License
212 stars 49 forks source link

isSeeking never gets set to false on Unity for Mac #95

Open LincRead opened 5 years ago

LincRead commented 5 years ago

Describe the issue

isSeeking never gets set to false on Unity for Mac, but it works fine on Unity for Windows.

Consequences: isSeeking gets set to false like it should on Windows and Google Play builds. isSeeking never gets set to false on macOS or iOS builds.

We use this value for our implementation of the seek bar, and we haven't been able to find a solution that hides this issue. Thus, the seek bar doesn't work as intended on the iOS version of our app.

Steps to reproduce the problem

Current event never triggers on Unity for Mac.

videoPlayer.seekCompleted += VideoSeekCompleted;

private void VideoSeekCompleted(VideoPlayer source)
{
        Debug.Log("This never happens on Unity for Mac");
        isSeeking = false;
}

Unity version

2019.1

Operating system

macOS 10.14.4

juniorxsound commented 5 years ago

Thanks for the info @LincRead - I wonder if that is a Unity Video Player event problem on iOS. I'll investigate and report back

LincRead commented 5 years ago

@juniorxsound the issue shows up in Unity Editor for Mac, so I think it's an issue that carries on when builds for iOS and macOS are made.