Hey guys,
i am evaluating Game Engines for a mobile project and was just starting with the Genko Engine. I was creating a very simple project (Just a background and a rotating logo in front) and it runs perfectly on windows. But when i try to run it on an Android device i get an unexpected exception:
[Game]: Error: Unexpected exception. System.InvalidOperationException: FBO is incomplete: 1 RTs: [RT0: 9]; Depth 1 (error: FramebufferIncompleteAttachment)
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Graphics.GraphicsDevice.FindOrCreateFBO (SiliconStudio.Xenko.Graphics.GraphicsDevice+FBOTexture depthStencilBuffer, SiliconStudio.Xenko.Graphics.GraphicsDevice+FBOTexture[] renderTargets, System.Int32 renderTargetCount) [0x00138] in <a0045054c9694b99b3fea1e8e9f13482>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Graphics.CommandList.SetupTargets () [0x0000f] in <a0045054c9694b99b3fea1e8e9f13482>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Graphics.CommandList.SetRenderTargetsImpl (SiliconStudio.Xenko.Graphics.Texture depthStencilBuffer, System.Int32 renderTargetCount, SiliconStudio.Xenko.Graphics.Texture[] renderTargets) [0x000a4] in <a0045054c9694b99b3fea1e8e9f13482>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Graphics.CommandList.SetRenderTargets (SiliconStudio.Xenko.Graphics.Texture depthStencilView, System.Int32 renderTargetViewCount, SiliconStudio.Xenko.Graphics.Texture[] renderTargetViews) [0x0002a] in <a0045054c9694b99b3fea1e8e9f13482>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Rendering.Compositing.ForwardRenderer.DrawCore (SiliconStudio.Xenko.Rendering.RenderContext context, SiliconStudio.Xenko.Rendering.RenderDrawContext drawContext) [0x0040d] in <ad7f3b942c8743f8a7e0bdfe1cb2e431>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Rendering.Compositing.SceneRendererBase.Draw (SiliconStudio.Xenko.Rendering.RenderDrawContext context) [0x00016] in <ad7f3b942c8743f8a7e0bdfe1cb2e431>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Rendering.Compositing.SceneRendererCollection.DrawCore (SiliconStudio.Xenko.Rendering.RenderContext context, SiliconStudio.Xenko.Rendering.RenderDrawContext drawContext) [0x00015] in <ad7f3b942c8743f8a7e0bdfe1cb2e431>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Rendering.Compositing.SceneRendererBase.Draw (SiliconStudio.Xenko.Rendering.RenderDrawContext context) [0x00016] in <ad7f3b942c8743f8a7e0bdfe1cb2e431>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Rendering.Compositing.SceneCameraRenderer.DrawInner (SiliconStudio.Xenko.Rendering.RenderDrawContext renderContext) [0x0000a] in <ad7f3b942c8743f8a7e0bdfe1cb2e431>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Rendering.Compositing.SceneCameraRenderer.DrawCore (SiliconStudio.Xenko.Rendering.RenderContext context, SiliconStudio.Xenko.Rendering.RenderDrawContext drawContext) [0x00026] in <ad7f3b942c8743f8a7e0bdfe1cb2e431>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Rendering.Compositing.SceneRendererBase.Draw (SiliconStudio.Xenko.Rendering.RenderDrawContext context) [0x00016] in <ad7f3b942c8743f8a7e0bdfe1cb2e431>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Rendering.Compositing.GraphicsCompositor.DrawCore (SiliconStudio.Xenko.Rendering.RenderDrawContext context) [0x001bf] in <ad7f3b942c8743f8a7e0bdfe1cb2e431>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Rendering.RendererBase.Draw (SiliconStudio.Xenko.Rendering.RenderDrawContext context) [0x0000f] in <ad7f3b942c8743f8a7e0bdfe1cb2e431>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Engine.SceneSystem.Draw (SiliconStudio.Xenko.Games.GameTime gameTime) [0x000c8] in <ad7f3b942c8743f8a7e0bdfe1cb2e431>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Games.GameSystemCollection.Draw (SiliconStudio.Xenko.Games.GameTime gameTime) [0x0008d] in <945bba35ef2c4bd6b177e0550df311a0>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Games.GameBase.Draw (SiliconStudio.Xenko.Games.GameTime gameTime) [0x00006] in <945bba35ef2c4bd6b177e0550df311a0>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Games.GameBase.DrawFrame () [0x00097] in <945bba35ef2c4bd6b177e0550df311a0>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Games.GameBase.TickInternal () [0x002f1] in <945bba35ef2c4bd6b177e0550df311a0>:0 System.InvalidOperationException: FBO is incomplete: 1 RTs: [RT0: 9]; Depth 1 (error: FramebufferIncompleteAttachment)
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Graphics.GraphicsDevice.FindOrCreateFBO (SiliconStudio.Xenko.Graphics.GraphicsDevice+FBOTexture depthStencilBuffer, SiliconStudio.Xenko.Graphics.GraphicsDevice+FBOTexture[] renderTargets, System.Int32 renderTargetCount) [0x00138] in <a0045054c9694b99b3fea1e8e9f13482>:0
10-07 13:18:00.912 E/Xenko (10370): at SiliconStudio.Xenko.Graphics.CommandList.SetupTargets () [0x0000f] in <a0045054c9694b99b3fea1e8e
I am using the Xenko Engine Version 2.0.4.1 on a Motorola E4 Plus Android Mobile device.
Do i miss something or does the Xenko engine have issues with Android.
Cheers
Kande