Stride Forums Archive

Compilation error on windows store

5 posts, 2918 views, 2015-03-27 to 2015-05-20

fabianiP (philippe Fabiani) 2015-03-27 #1

Hi,

All projects compilation fails on windows store app(8.1). On windows desktop it’s ok, but on store app i have allways this error:

Unable to find compiled shaders [__shaders_bytecode__/2a7c4349a5a6b4410f79c4a96c2f044d] for mixin [mixin ShaderBase, TransformationWAndVP, BRDFDiffuseBase, BRDFSpecularBase, AlbedoFlatShading, TransformationSkinning] with parameters [ CompilerParameters.DebugKey: True MaterialParameters.SkinningMaxBones: 56 CompilerParameters.GraphicsPlatformKey: Direct3D11 CompilerParameters.GraphicsProfileKey: Level_10_1 MaterialParameters.AlbedoDiffuse: MaterialParameters.HasSkinningPosition: True]

Greetings.

Discosultan (Jaanus Varus) 2015-03-30 #2

Hey,

Just for info, there’s a similar issue up on GitHub. It’s about the same exception, but it appears on runtime, not compile time - maybe there’s a connection there. I haven’t investigated it, though.

fabianiP (philippe Fabiani) 2015-03-31 #3 in reply to #2

Hi,

You’re right, it’s not on compilation but on runtime, i made a mistake.

Greetings.

xen2 (Virgile) 2015-04-01 #4 in reply to #3

Did you properly add shader permutations in your .pdxfxlib?
Also, make sure platform level 10.1 is what is actually compiled (in your .pdxpkg).

Note that the system will be revamped to allow remote shader compilation of missing shaders and record those in an asset that can be reinjected in your project (that’s what we use recently internally, but will take some more polish before release, so probably in 1 or 2 months).

fabianiP (philippe Fabiani) 2015-05-20 #5 in reply to #4

Hi,

The sample in documentation (redcube) not work in a windows store app.
The screen stay in cornflowerblue.
In windows desktop it’s ok.

Greetings.