永发信息网

开一个需要.net framework 4.6的游戏的的时候出现错误,求解

答案:2  悬赏:80  手机版
解决时间 2021-01-28 11:03
  • 提问者网友:欺烟
  • 2021-01-27 10:24
[Exception Data]
System.Collections.ListDictionaryInternal
[Exception Message]
HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: 参数错误。

[Exception StackTrace]
at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreatePixelShader(IntPtr shaderBytecodeRef, PointerSize bytecodeLength, ClassLinkage classLinkageRef, PixelShader pixelShaderOut)
at SharpDX.Direct3D11.PixelShader..ctor(Device device, Byte[] shaderBytecode, ClassLinkage linkage)
at SharpDX.Toolkit.Graphics.EffectPool.GetOrCompileShader(EffectShaderType shaderType, Int32 index, Int32 soRasterizedStream, StreamOutputElement[] soElements, String& profileError)
at SharpDX.Toolkit.Graphics.EffectPass.InitStageBlock(StageBlock stageBlock, Logger logger)
at SharpDX.Toolkit.Graphics.EffectPass.Initialize(Logger logger)
at SharpDX.Toolkit.Graphics.Effect.InitializeFrom(Effect effectDataArg, Effect cloneFromEffect)
at SharpDX.Toolkit.Graphics.Effect.CreateInstanceFrom(GraphicsDevice device, EffectData effectData, EffectPool effectPool)
at DContent.ContentCache.EffectLoader.LoadEffectNew(GraphicsDevice idevice, String ifilename)
at DContent.ContentCache.Effects.LoadNew(GraphicsDevice idevice, String ifilename)
at higashi.GaussianBlur..ctor(GraphicsDevice idevice, String usage, Single idiv, ShaderDomain domain, BlurPhaseDescription idesc)
at higashi.LoadingDrawer..ctor(GraphicsDevice idevice, DSpriteFont ifont, Vector2 isize)
at higashi.DGameFramework.LoadContent()
at higashi.MainGame.LoadContent()
at SharpDX.Toolkit.Game.InitializeBeforeRun()
at SharpDX.Toolkit.GameWindowDesktop.RunRenderLoop()
at SharpDX.Toolkit.GameWindowDesktop.Run()
at SharpDX.Toolkit.GamePlatform.Run(GameContext gameContext)
at SharpDX.Toolkit.Game.Run(GameContext gameContext)
at SDGame.Program.StartupMain(String[] args)
at SDGame.StartUp.Main(String[] args)
最佳答案
  • 五星知识达人网友:动情书生
  • 2021-01-27 11:57
C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/Temporary
看看能不能找到这个文件夹,Framework/这后面的名字可能不一样,看你安装的版本,找到之后清空Temporary文件夹里面的东西,要是不好用,更新你的DX(Direct3D)驱动再试试
全部回答
  • 1楼网友:青灯有味
  • 2021-01-27 12:26
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯