Hello, we are having problem with android version of our simple 3D application. It works fine on win10 or WP. But we are getting these exceptions(bellow). It would be greaat if you could tell us what we are doing wrong or at least point us to the right direction. Thanks and we love Xenko.
Debugging in emulator (xamarin)
UNHANDLED EXCEPTION:
System.InvalidOperationException: FBO is incomplete: RT 140 Depth 1 (error: FramebufferUnsupported)
at SiliconStudio.Xenko.Graphics.GraphicsDevice.FindOrCreateFBO (SiliconStudio.Xenko.Graphics.Texture depthStencilBuffer, SiliconStudio.Xenko.Graphics.Texture[] renderTargets) [0x00212] in :0
at SiliconStudio.Xenko.Graphics.CommandList.SetupTargets () [0x0000f] in :0
at SiliconStudio.Xenko.Graphics.CommandList.SetRenderTargetsImpl (SiliconStudio.Xenko.Graphics.Texture depthStencilBuffer, Int32 renderTargetCount, SiliconStudio.Xenko.Graphics.Texture[] renderTargets) [0x000c3] in :0
at SiliconStudio.Xenko.Graphics.CommandList.SetRenderTarget (SiliconStudio.Xenko.Graphics.Texture depthStencilView, SiliconStudio.Xenko.Graphics.Texture renderTargetView) [0x0001d] in :0
at SiliconStudio.Xenko.Graphics.CommandList.ClearStateImpl () [0x000c1] in :0
at SiliconStudio.Xenko.Graphics.CommandList.ClearState () [0x00000] in :0
at SiliconStudio.Xenko.Graphics.CommandList…ctor (SiliconStudio.Xenko.Graphics.GraphicsDevice device) [0x000c7] in :0
at SiliconStudio.Xenko.Games.GameBase.BeginDraw () [0x0002d] in :0
at SiliconStudio.Xenko.Games.GameBase.InitializeBeforeRun () [0x0006d] in :0
Debugging on phone (galaxy s5)
UNHANDLED EXCEPTION:
System.InvalidOperationException: EglCreateContext 3006
at SiliconStudio.Xenko.Graphics.AndroidAsyncGraphicsContext…ctor (OpenTK.Platform.Android.AndroidGraphicsContext graphicsContext, OpenTK.Platform.Android.AndroidWindow androidWindow, Int32 versionMajor) [0x0020e] in :0
at SiliconStudio.Xenko.Graphics.GraphicsDevice.InitializePlatformDevice (SiliconStudio.Xenko.Graphics.GraphicsProfile[] graphicsProfiles, DeviceCreationFlags deviceCreationFlags, SiliconStudio.Xenko.Graphics.WindowHandle windowHandle) [0x001b7] in :0
at SiliconStudio.Xenko.Graphics.GraphicsDevice.Recreate (SiliconStudio.Xenko.Graphics.GraphicsAdapter adapter, SiliconStudio.Xenko.Graphics.GraphicsProfile[] profile, DeviceCreationFlags deviceCreationFlags, SiliconStudio.Xenko.Graphics.WindowHandle windowHandle) [0x0002f] in :0
at SiliconStudio.Xenko.Graphics.GraphicsDevice…ctor (SiliconStudio.Xenko.Graphics.GraphicsAdapter adapter, SiliconStudio.Xenko.Graphics.GraphicsProfile[] profile, DeviceCreationFlags deviceCreationFlags, SiliconStudio.Xenko.Graphics.WindowHandle windowHandle) [0x000a8] in :0
at SiliconStudio.Xenko.Graphics.GraphicsDevice.New (SiliconStudio.Xenko.Graphics.GraphicsAdapter adapter, DeviceCreationFlags creationFlags, SiliconStudio.Xenko.Graphics.WindowHandle windowHandle, SiliconStudio.Xenko.Graphics.GraphicsProfile[] graphicsProfiles) [0x0000a] in :0
at SiliconStudio.Xenko.Games.GamePlatform.CreateDevice (SiliconStudio.Xenko.Games.GraphicsDeviceInformation deviceInformation) [0x00025] in :0
at SiliconStudio.Xenko.Games.GamePlatform.ChangeOrCreateDevice (SiliconStudio.Xenko.Graphics.GraphicsDevice currentDevice, SiliconStudio.Xenko.Games.GraphicsDeviceInformation deviceInformation) [0x00003] in :0
at SiliconStudio.Xenko.Games.GraphicsDeviceManager.CreateDevice (SiliconStudio.Xenko.Games.GraphicsDeviceInformation newInfo) [0x00059] in :0
at SiliconStudio.Xenko.Games.GraphicsDeviceManager.ChangeOrCreateDevice (Boolean forceCreate) [0x0019a] in :0
at SiliconStudio.Xenko.Games.GraphicsDeviceManager.SiliconStudio.Xenko.Games.IGraphicsDeviceManager.CreateDevice () [0x00000] in :0
at SiliconStudio.Xenko.Games.GameBase.InitializeBeforeRun () [0x00011] in :0