Duck Game

Duck Game

Gatling Guns
 此主题已被置顶,因此可能具有重要性
Zloty_Diament (Golden_Diamond)  [开发者] 2021 年 2 月 14 日 上午 8:41
Bug Sharing
Forum for sharing your problems
< >
正在显示第 1 - 7 条,共 7 条留言
Zloty_Diament (Golden_Diamond)  [开发者] 2021 年 2 月 15 日 上午 11:15 
`Content\Shaders\DarkShader.xnb` File not found
The "Dark Levels" mod section copies a file from mod directory to game's folder. But it works for me, with mod subscribed as Workshop mod. Maybe you lack file permissions on your end?
最后由 Zloty_Diament (Golden_Diamond) 编辑于; 2021 年 2 月 15 日 上午 11:15
Zloty_Diament (Golden_Diamond)  [开发者] 2021 年 2 月 16 日 上午 5:19 
引用自 Zloty_Diament
`Content\Shaders\DarkShader.xnb` File not found
I think I fixed that. It wasn't crashing for me because Duck Game wasn't deleting that shader off its directory on exit like I though it would.
vnews 2021 年 2 月 19 日 下午 12:21 
the mod causes the game to crash on startup. here's the crash report:

Crash Source: mscorlib
Mod "Gatling" crashed. Mod disabled. Try running game again.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Xna.Framework.Content.ContentLoadException: Error loading "Shaders\DarkShader". File not found. ---> System.IO.FileNotFoundException: Error loading "Content\Shaders\DarkShader.xnb". File not found.
at Microsoft.Xna.Framework.TitleContainer.OpenStream(String name)
at Microsoft.Xna.Framework.Content.ContentManager.OpenStream(String assetName)
--- End of inner exception stack trace ---
at DuckGame.SynchronizedContentManager.Load[T](String assetName) in MonoTime\Content\SynchronizedContentManager.cs:line 45
at DuckGame.Content.Load[T](String name) in MonoTime\Content\Content.cs:line 1499
at DuckGame.GatlingGuns.DarkLevels..ctor(Single x, Single y)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at DuckGame.Editor.<>c__DisplayClass394_2.<InitializeConstructorLists>b__3() in MonoTime\LevelEditor\Editor.cs:line 6202
at DuckGame.Editor.CreateObject(Type t) in MonoTime\LevelEditor\Editor.cs:line 6048
at DuckGame.Editor.GetOrCreateTypeInstance(Type t) in MonoTime\LevelEditor\Editor.cs:line 6029
at DuckGame.EditorGroup.AddType(Type t, String group) in MonoTime\LevelEditor\EditorGroup.cs:line 62
at DuckGame.EditorGroup.AddType(Type t, String group) in MonoTime\LevelEditor\EditorGroup.cs:line 102
at DuckGame.EditorGroup.AddType(Type t, String group) in MonoTime\LevelEditor\EditorGroup.cs:line 102
at DuckGame.EditorGroup.Initialize(Type filter, HashSet`1 types) in MonoTime\LevelEditor\EditorGroup.cs:line 143
at DuckGame.EditorGroup..ctor(Type filter, HashSet`1 types) in MonoTime\LevelEditor\EditorGroup.cs:line 38
at DuckGame.Editor.InitializePlaceableGroup() in MonoTime\LevelEditor\Editor.cs:line 6223
at DuckGame.LoadingAction.Invoke() in MonoTime\MonoMain.cs:line 60
at DuckGame.MonoMain.RunUpdate(GameTime gameTime) in MonoTime\MonoMain.cs:line 1774
at DuckGame.MonoMain.Update(GameTime gameTime) in MonoTime\MonoMain.cs:line 1612
Last 8 Lines of Console Output:
C:/Users/Victor/Documents/DuckGame/76561198109770565/
Initializing Input...
Initializing DInput...
SetDefaultMapping() Found existing map for (KEYBOARD P1)...
SetDefaultMapping() Found existing map for (KEYBOARD P2)...
SetDefaultMapping() Found existing map for (XBOX GAMEPAD)...
SetDefaultMapping() Found existing map for (GENERIC GAMEPAD)...
Found default settings for (Wireless Controller)...

Date: 02/19/2021 20:13:29
Version: 1.1.7717.16371
Platform: Windows 10 (Steam Build 6250805)(SFX)
Online: 0
Mods: M5W9OdDtxEIC0GMBlocKce+i3eWm1QP2KlhJY7nijkg=
Time Played: 00:00:07 (216)
Special Code: creating DuckGame.GatlingGuns.DarkLevels, Gatling Guns_compiled, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
Resolution: (A)1920x1080 (G)1280x720 (Windowed)(RF 111)
Level: null
Command Line:
Zloty_Diament (Golden_Diamond)  [开发者] 2021 年 2 月 21 日 下午 4:34 
引用自 vnews
"Shaders\DarkShader". File not found.
Try re-subscribing then, because I just checked and the "DarkShader" issue was fixed
最后由 Zloty_Diament (Golden_Diamond) 编辑于; 2021 年 2 月 21 日 下午 4:35
FaecTerr 2021 年 2 月 23 日 上午 2:02 
Can you upload "DarkShader" on cloud and post the link, cause it still cause crash?
Zloty_Diament (Golden_Diamond)  [开发者] 2021 年 2 月 23 日 下午 2:43 
It's in the mod's folder, in Workshop Download's directory.
You're a modder, do you have an idea why it crashes for half people, and works for the other half?
Erik has an idea it's a regional thing, issue related to Windows' language
最后由 Zloty_Diament (Golden_Diamond) 编辑于; 2021 年 2 月 23 日 下午 2:45
FaecTerr 2021 年 2 月 24 日 上午 3:37 
I don't really have any idea, I just removed it from \Effects and created new folder Shaders (that helped), maybe this folder name is reserved or smth
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50