Duck Game

Duck Game

Gatling Guns
 Dit topic is vastgepind, dus het is waarschijnlijk belangrijk
Bug Sharing
Forum for sharing your problems
< >
1-7 van 7 reacties weergegeven
Zloty_Diament (Golden_Diamond)  [ontwikkelaar] 15 feb 2021 om 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?
Laatst bewerkt door Zloty_Diament (Golden_Diamond); 15 feb 2021 om 11:15
Origineel geplaatst door 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.
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:
Origineel geplaatst door vnews:
"Shaders\DarkShader". File not found.
Try re-subscribing then, because I just checked and the "DarkShader" issue was fixed
Laatst bewerkt door Zloty_Diament (Golden_Diamond); 21 feb 2021 om 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
Laatst bewerkt door Zloty_Diament (Golden_Diamond); 23 feb 2021 om 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
< >
1-7 van 7 reacties weergegeven
Per pagina: 1530 50