Video Login Example throwing: java.lang.IllegalStateException on Android


I have downloaded the example by yupferris - , put my own video file in and ran the preview.

Localy: I don’t get any errors, but the video doesn’t play ( not visible ).

Android: The video is visible, but as soon as I click on any thing the app craches:

ERROR: java.lang.IllegalStateException: Unable to update texture contents (see logcat for details) Uno.Exception occured.

My .mp4 Video File : file

Hi there,

First of all: which version of Fuse are you running, and are you on Windows or OS X?

Win 10.

The latest fuse version


I tested your video on Windows and Android. The video plays fine on my Windows box, but actually uncovered a memoryleak (fix will be included in the next release). It also plays fine on my Google Nexus 5.

What device are you testing this on? Does the video file play if you try to play it with the Gallery app on Android?

Here is the project I tested with: file

I tested with a Samsung Galaxy S2, thats the one that failed.I can play the video on the Samsung.

Just retested on a Nexus 6, works fine.


The “fuse-example-video-login-screen” code works on my Windows box, but I get the “Oops! Something went wrong here” screen on my Mac.

I’m on the 2-day old release, This also happened on the highest 0.9.6.* release.

I use the same video file on Windows & the Mac. Sublime doesn’t report any issues when saving – that is, it knows I’m linking to the correct video path.

Here’s the Fuse Monitor info:

ERROR: Argument cannot be null. System.ArgumentNullException occured. at Fuse.Video.Mono.PixelBuffer…ctor (IntPtr handle) [0x00000] in :0 at Fuse.Video.Mono.VideoImpl.CopyPixelBuffer (MonoMac.AVFoundation.AVPlayerItemVideoOutput output, CMTime time, MonoMac.CoreMedia.CMTime& outItemTimeForDisplay) [0x00000] in :0 at Fuse.Video.Mono.VideoImpl.UpdateTexture (Fuse.Video.Mono.VideoHandle handle, Int32 textureHandle) [0x00000] in :0 at Fuse.Video.Mono.MonoImpl.UpdateTexture (Int32 textureHandle) [0x00000] in :0 at Fuse.Video.Graphics.CIL.VideoImpl.UpdateTexture (Fuse.Video.Graphics.CIL.VideoHandle handle, Int32 textureHandle) [0x00000] in :0 at Fuse.Video.Graphics.CIL.VideoPlayer.Update () [0x00000] in :0 at Fuse.Video.VideoContainer.Update () [0x00000] in :0 at Fuse.Video.VideoVisual.OnUpdate (System.Object sender, System.EventArgs args) [0x00000] in :0 at Fuse.Node.DoUpdate () [0x00000] in :0 at Fuse.UpdateListener.Invoke () [0x00000] in :0 at Fuse.UpdateManager.Update (Fuse.Stage stage) [0x00000] in :0

Thanks, Ryan

How is this working out for you in the latest version (0.24)?