Duck Game
Gatling Guns
 Ez a téma ki van emelve, tehát valószínűleg fontos.
Bug Sharing
Forum for sharing your problems
< >
17/7 megjegyzés mutatása
`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?
Legutóbb szerkesztette: Zloty_Diament (Golden_Diamond); 2021. febr. 15., 11:15
Zloty_Diament eredeti hozzászólása:
`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.
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:
vnews eredeti hozzászólása:
"Shaders\DarkShader". File not found.
Try re-subscribing then, because I just checked and the "DarkShader" issue was fixed
Legutóbb szerkesztette: Zloty_Diament (Golden_Diamond); 2021. febr. 21., 16:35
Can you upload "DarkShader" on cloud and post the link, cause it still cause crash?
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
Legutóbb szerkesztette: Zloty_Diament (Golden_Diamond); 2021. febr. 23., 14:45
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
< >
17/7 megjegyzés mutatása
Laponként: 1530 50