Closed ragnaros12 closed 2 years ago
Since this isn't an issue in the game itself, I think the "modding support" section in Discussions would be a more appropriate place for this. Based on the error message, the game fails to find the texture "Content\Effects\waterbump.png". Have you copied the content folder into the project? As mentioned here, it's not included in the public repository - you need to get it from your copy of Barotrauma.
Disclaimers
What happened?
I wanted to build the game from source, but when I start the game I get this error
Barotrauma Client crash report (generated on 04.07.2022 15:29:59)
Barotrauma seems to have crashed. Sorry for the inconvenience!
152E290A019067F5963BC4657541F166
Game version 0.18.12.0 (ReleaseWindows, branch master, revision 06e72bb63) Graphics mode: 1920x1080 (BorderlessWindowed) VSync ON Language: English Selected content packages: None Level seed: no level loaded Loaded submarine: None Selected screen: None
System info: Operating system: Microsoft Windows NT 10.0.22000.0 64 bit GPU name: NVIDIA GeForce RTX 2060 Display mode: {Width:1920 Height:1080 Format:Color AspectRatio:1,7777778} GPU status: Normal
Exception: Could not find file 'C:\Users\khlop\source\repos\Barotrauma\Barotrauma\bin\ReleaseWindows\netcoreapp3.1\Content\Effects\waterbump.png'. (System.IO.FileNotFoundException) Target site: Microsoft.Win32.SafeHandles.SafeFileHandle ValidateFileHandle(Microsoft.Win32.SafeHandles.SafeFileHandle) Stack trace: at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.IO.File.Open(String path, FileMode mode, FileAccess access, FileShare share) at Barotrauma.IO.File.Open(String path, FileMode mode, FileAccess access, Nullable`1 share) in\Barotrauma\BarotraumaShared\SharedSource\Utils\SafeIO.cs:line 383
at Barotrauma.IO.File.OpenRead(String path) in \Barotrauma\BarotraumaShared\SharedSource\Utils\SafeIO.cs:line 388
at Barotrauma.TextureLoader.FromFile(String path, Boolean compress, Boolean mipmap) in \Barotrauma\BarotraumaClient\ClientSource\Utils\TextureLoader.cs:line 193
at Barotrauma.WaterRenderer..ctor(GraphicsDevice graphicsDevice, ContentManager content) in \Barotrauma\BarotraumaClient\ClientSource\Map\Levels\WaterRenderer.cs:line 78
at Barotrauma.GameMain.LoadContent() in \Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 404
at Microsoft.Xna.Framework.Game.Initialize() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 553
at Barotrauma.GameMain.Initialize() in \Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 375
at Microsoft.Xna.Framework.Game.DoInitialize() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 685
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 382
at Microsoft.Xna.Framework.Game.Run() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 368
at Barotrauma.Program.Main(String[] args) in \Barotrauma\BarotraumaClient\ClientSource\Program.cs:line 59
Last debug messages: [04.07.2022 15:29:58] SteamManager initialization threw an exception {SteamApi_Init returned false. Steam isn't running, couldn't find Steam, AppId is ureleased, Don't own AppId.} at Steamworks.SteamClient.Init(UInt32 appid, Boolean asyncCallbacks) in\Libraries\Facepunch.Steamworks\SteamClient.cs:line 31
at Barotrauma.Steam.SteamManager.InitializeProjectSpecific() in \Barotrauma\BarotraumaClient\ClientSource\Steam\SteamManager.cs:line 26
Reproduction steps
Запустить игру
Bug prevalence
Happens every time I play
Version
0.18.12.0
-
No response
Which operating system did you encounter this bug on?
Windows
Relevant error messages and crash reports