System.Exception at Orts.Viewer3D.Shader.GetEffectCode

Bug #1883787 reported by Luis Nascimento Sousa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
New
Undecided
Unassigned

Bug Description

Error: System.Exception: Invalid profile 'vs_2_0'. Vertex shader 'VSPopupWindow' must be SM 4.0 level 9.1 or higher!
   bei TwoMGFX.DirectX11ShaderProfile.ValidateShaderModels(PassInfo pass)
   bei TwoMGFX.EffectObject.CompileEffect(ShaderResult shaderResult, String& errorsAndWarnings)
   bei Microsoft.Xna.Framework.Content.Pipeline.Processors.EffectProcessor.Process(EffectContent input, ContentProcessorContext context)
   bei Orts.Viewer3D.Shader.GetEffectCode(String filename) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Shaders.cs:Zeile 50.
   bei Orts.Viewer3D.Shader..ctor(GraphicsDevice graphicsDevice, String filename) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Shaders.cs:Zeile 35.
   bei Orts.Viewer3D.PopupWindowShader..ctor(Viewer viewer, GraphicsDevice graphicsDevice) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Shaders.cs:Zeile 629.
   bei Orts.Viewer3D.SharedMaterialManager..ctor(Viewer viewer) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Materials.cs:Zeile 240.
   bei Orts.Viewer3D.Viewer.Initialize() in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Viewer.cs:Zeile 406.
   bei Orts.Viewer3D.Viewer..ctor(Simulator simulator, Game game) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Viewer.cs:Zeile 317.
   bei Orts.Viewer3D.Processes.GameStateRunActivity.Start(UserSettings settings, String acttype, String[] args) in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:Zeile 315.
   bei Orts.Viewer3D.Processes.GameStateRunActivity.<>c__DisplayClass35_0.<Load>b__3() in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:Zeile 159.
   bei Orts.Viewer3D.Processes.GameStateRunActivity.Load() in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:Zeile 200.
   bei Orts.Viewer3D.Processes.LoaderProcess.Load() in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:Zeile 159.
   bei Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:Zeile 138.
   bei Orts.Viewer3D.Processes.LoaderProcess.LoaderThread() in F:\ADRIANA\Carlo\OR_Work\Git_ORTS_source_mio\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:Zeile 109.
   bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   bei System.Threading.ThreadHelper.ThreadStart()

Loader: Time = 00:01:51.1694536 ms
Loader: Expected = 120’009’261 bytes
Loader: Actual = 120’009’261 bytes
Loader: Difference = 0 bytes (0.0%)

Information: Game.PopState()

Tags: crash graphics
James Ross (twpol)
summary: - Error: System.Exception: Invalid profile 'vs_2_0'. Vertex shader
- 'VSPopupWindow' must be SM 4.0 level 9.1 or higher!
+ System.Exception at Orts.Viewer3D.Shader.GetEffectCode
James Ross (twpol)
tags: added: crash graphics
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.