0x0ade / DuckGame-Linux

Collection of patches to get Duck Game running on Linux using FNA, not Wine. Scroll down for instructions.
MIT License
49 stars 3 forks source link

Game crashes when trying to select a mission #15

Open ltgouvea opened 5 years ago

ltgouvea commented 5 years ago

I'm running the game through mono DuckGame.exe and it works until I try a mission selection. Log:

Date: 10/19/2018
Version: 1.0.6451.27778
Platform: Windows 2000
Online: FALSE
Editor: False
Time Played: 00:00:05
Special Code: Couldn't load texture furni/tub 
Code: 0
Adapter Resolution: 1280x719
Game Resolution: 1280x719
Fullscreen: False
Device: False
Level: Content/levels/arcade.lev
Mods: 0 (0 enabled)
Command Line: < -nothreading -nomods >
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Microsoft.Xna.Framework.Graphics.Texture2D.SetData[T] (T[] data) [0x00000] in <e1b9c0c27fca4c54b2ed338bf2affd2b>:0 
  at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream (Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, System.IO.Stream stream) [0x00017] in <e1b9c0c27fca4c54b2ed338bf2affd2b>:0 
  at DuckGame.ChallengeCard.Update () [0x00032] in <636696e3f4b04115938bc56d0d20ccd6>:0 
  at DuckGame.ArcadeHUD.Update () [0x005a3] in <636696e3f4b04115938bc56d0d20ccd6>:0 
  at DuckGame.Thing.DoUpdate () [0x00036] in <636696e3f4b04115938bc56d0d20ccd6>:0 
  at DuckGame.Level.UpdateThings () [0x000ca] in <636696e3f4b04115938bc56d0d20ccd6>:0 
  at DuckGame.Level.DoUpdate () [0x0016e] in <636696e3f4b04115938bc56d0d20ccd6>:0 
  at DuckGame.Level.UpdateCurrentLevel () [0x00016] in <636696e3f4b04115938bc56d0d20ccd6>:0 
  at DuckGame.MonoMain.RunUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x003bd] in <636696e3f4b04115938bc56d0d20ccd6>:0 
  at DuckGame.MonoMain.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00019] in <636696e3f4b04115938bc56d0d20ccd6>:0 
  at Microsoft.Xna.Framework.Game.Tick () [0x000ef] in <e1b9c0c27fca4c54b2ed338bf2affd2b>:0 
  at Microsoft.Xna.Framework.SDL2_FNAPlatform.RunLoop (Microsoft.Xna.Framework.Game game) [0x005b6] in <e1b9c0c27fca4c54b2ed338bf2affd2b>:0 
  at Microsoft.Xna.Framework.Game.Run () [0x0002c] in <e1b9c0c27fca4c54b2ed338bf2affd2b>:0 
  at DuckGame.Program.DoMain (System.String[] args) [0x0022e] in <636696e3f4b04115938bc56d0d20ccd6>:0 
  at DuckGame.Program.orig_Main (System.String[] args) [0x00036] in <636696e3f4b04115938bc56d0d20ccd6>:0 
  at DuckGame.Program.Main (System.String[] args) [0x000c0] in <636696e3f4b04115938bc56d0d20ccd6>:0 
AL lib: (EE) alc_cleanup: 1 device not closed
elisdg commented 4 years ago

linking to https://github.com/0x0ade/DuckGame-Linux/issues/7 (this is solved by https://steamcommunity.com/app/312530/discussions/1/1813170373217045177/)