Tmodloader ошибка при создании мира

Version

Latest 1.4-stable

OS

Windows

Platform

Steam

This bug affects

Gameplay as a Player

Description

When trying to create a new world i ran into an issue with the World gen. What can i do to avoid the Problem? Pls help me.

The issue:

A problem was encountered during world generation CalamityDungeonBiomeChests System.NullReferenceException: Object reference not set to an instance of an object. at CalamityMod.World.MiscWorldgenRoutines.GenerateBiomeChests(GenerationProgress progress, GameConfiguration config) in CalamityMod\World\MiscWorldgenRoutines.cs:line 30 at Terraria.GameContent.Generation.PassLegacy.ApplyPass(GenerationProgress progress, GameConfiguration configuration) in tModLoader\Terraria\GameContent\Generation\PassLegacy.cs:line 226 at Terraria.WorldBuilding.WorldGenerator.GenerateWorld(GenerationProgress progress) in tModLoader\Terraria\WorldBuilding\WorldGenerator.cs:line 30

Log File

No response

Steps to reproduce

No response

Expected Behavior

No response

Actual Behavior

No response

Reproduction frequency

No response

Additional Information

No response

  • #1

I have been using tmodloader with calamity for about a week. I have not had any issues until i decided to make a new world today. I am not able to create worlds while i have the calamity mod active. I’ve seen other people with the same issue as me. some of them had different mods that were having the error, but it mostly seemed the same. There have been some post about the error, but most led to dead ends for me, so here is the error message I got.

A problem was encountered during world generation CalamityDungeonBiomeChests System.NullReferenceException: Object reference not set to an instance of an object. at CalamityMod.World.MiscWorldgenRoutines.GenerateBiomeChests(GenerationProgress progress, GameConfiguration config) in CalamityMod\World\MiscWorldgenRoutines.cs:line 30 at Terraria.GameContent.Generation.PassLegacy.ApplyPass(GenerationProgress progress, GameConfiguration configuration) in tModLoader\Terraria\GameContent\Generation\PassLegacy.cs:line 226 at Terraria.WorldBuilding.WorldGenerator.GenerateWorld(GenerationProgress progress) in tModLoader\Terraria\WorldBuilding\WorldGenerator.cs:line 30

The error only seems to happen when i have the calamity mod active. I am on Calamity version 2.0.0.3, tModLoader Version 2022.7.58.4, and terraria version 1.4.3.6. It doesn’t happen with any other mod or combination of mods. It only started happening today even though I have created a world before. Worlds that have already been created are still playable and run perfectly. The world will load to about half way until it starts creating the dungeon, and then the error message will pop up, clicking continue will result in the world not being created and being sent back to the title screen. I have tried at least 20 times to create a world.

I have tried uninstalled the calamity mod and reinstalled it. I have tried uninstalling both tmodloader and terraria but that did not work. I have made sure that i did not have any other betas or previews active. I only have calamity mod installed (no other mods) . I’ve verified my file integrity.

Also I have read on a forum post that you can get around this by migrating a vanilla world to tModLoader. I could launch the world and the calamity mod worked, but none of the calamity specific structures generated on the world, so it didn’t work.

I think there is an error that involves the biome chests that spawn in the dungeon to fail to load, but i have no clue how to fix it and every other forum post about it has led to a dead end for me.
Thank’s for any info that you may have.

Last edited:

  • #2

i have the same problem and it also appeared only today
i think thats because tmodloader got an update today

Last edited:

  • #3

I too am having that issue. I hope whatever the situation is it gets fixed soon

  • #4

I’m having the same problem hope it gets fixed

  • #5

yup same thing for me, problem was happening yesterday and is still happening today

  • #6

There’s unfortunately no fix for this, until Calamity mod is updated.

  • #7

i was olaying the Calamity mod perfectly and still can play well on other worlds but when i want to generate a new world it says Calamity Dungeon Chest Error and i cant create a new workd to play on with the calamity mod

  • #8

one thing i did that kinda fixed it was to switch to 1.3, install calamity and make the world on there, and switch back. hope this helps.

  • #9

Are there any publicly available untouched maps that can be downloaded for Calamity (with the calamity content) to get around the world gen step? Or would anyone be willing to upload one?

  • #10

I believe that this is due to small worlds not being supported by Calamity anymore. (Edit: Nvm, tried all world size options and the same error pops up. Got no idea what it is.)

  • #11

I installed the world gen previewer mod by jopojelly, and used it to skip/delete the step that adds the calamity dungeon chest. No idea what the cause is, but I hope this «fix» helps.

  • #12

how’re ya guys holding up, i have the issue too hope this gets fixed been days, maybe weeks idk

  • #13

Yea i have the same issue. Hope it gets fixed up soon.

  • #14

Can also report this issue, seems pretty critical to me.

  • #15

I have the same, updated reupdated redownloaded everything. So we should just wait for the fix… :/

  • #16

There is a calamity world gen fix mod (search ‘calamity’ on the tmodloader’s mod list and it should be there)

  • #17

There is a calamity world gen fix mod (search ‘calamity’ on the tmodloader’s mod list and it should be there)

I can’t seem to find that mod, what’s it called?

  • #18

just search «calamity world gen fix mod» and the name should be «Fix Calamity Bug About World Creating»

  • #19

Thanks ssccaa — worked a treat!

  • #20

calamityfixbugastralbiomechest.png

download this lol and it fixes it

[12:57:35] [Main Thread/INFO] [tML]: Save Are Located At: C:\Users\*** (username)\Documents\My Games\Terraria\tModLoader
[12:57:35] [Main Thread/INFO] [tML]: Starting tModLoader client 1.4.3.6+2022.05.103.25|1.4-stable|Stable|1fe641ede62f30103912885d3997c2439c61832f|5249589079751535603 built 2022/6/9 1:28
[12:57:35] [Main Thread/INFO] [tML]: Log date: 2022/6/9
[12:57:35] [Main Thread/INFO] [tML]: Running on Windows X64 NetCore 6.0.0
[12:57:35] [Main Thread/INFO] [tML]: Executable: D:\SteamLibrary\steamapps\common\tModLoader\tModLoader.dll
[12:57:35] [Main Thread/INFO] [tML]: Working Directory: D:\SteamLibrary\steamapps\common\tModLoader
[12:57:35] [Main Thread/INFO] [tML]: Developer mode enabled
[12:57:36] [Main Thread/INFO] [tML]: Distribution Platform: Steam. Detection method: CWD is /steamapps/
[12:57:36] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = False): "D:\SteamLibrary\steamapps\common\tModLoader\dotnet\6.0.0\dotnet.exe" tModLoader.dll -terrariasteamclient 1304
[12:57:36] [Main Thread/DEBUG] [TerrariaSteamClient]: Recv: init_success
[12:57:36] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: acknowledged
[12:57:37] [Main Thread/INFO] [FNA]: Controller 0: Controller (Xbox One For Windows), GUID: 5e04ff02, Mapping: 030000005e040000ff02000000007200,*,a:b0,b:b1,x:b2,y:b3,back:b6,guide:b10,start:b7,leftstick:b8,rightstick:b9,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:a4,righttrigger:a5,platform:Windows
[12:57:37] [Main Thread/INFO] [Terraria]: Steam Cloud Quota: 115.3 MB available
[12:57:37] [Main Thread/INFO] [FNA]: FNA3D Driver: D3D11
[12:57:37] [Main Thread/INFO] [FNA]: D3D11 Adapter: NVIDIA GeForce RTX 3050 Ti Laptop GPU
[12:57:38] [Main Thread/DEBUG] [Terraria]: Device Created, Adapter: Generic PnP Monitor, DisplayMode: {{Width:1920 Height:1080 Format:Color}}, Profile: Reach, Width: 800, Height: 480, Fullscreen: False, Display: \\.\DISPLAY1
[12:57:38] [Main Thread/DEBUG] [Terraria]: Device Reset, Adapter: Generic PnP Monitor, DisplayMode: {{Width:1920 Height:1080 Format:Color}}, Profile: Reach, Width: 800 -> 1920, Height: 480 -> 1001, Fullscreen: False, Display: \\.\DISPLAY1
[12:57:55] [.NET ThreadPool Worker/INFO] [tML]: Unloading mods
[12:57:56] [.NET ThreadPool Worker/INFO] [tML]: Finding Mods...
[12:57:56] [.NET ThreadPool Worker/INFO] [tML]: Instantiating Mods...
[12:57:56] [.NET ThreadPool Worker/INFO] [tML]: Initializing: ModLoader (tModLoader) v2022.5.103.25
[12:57:57] [.NET ThreadPool Worker/INFO] [tML]: Setting up...
[12:57:57] [.NET ThreadPool Worker/INFO] [tML]: Loading: ModLoader (tModLoader) v2022.5.103.25
[12:57:57] [.NET ThreadPool Worker/INFO] [tML]: RAM usage: 754.6 MB
[12:57:57] [.NET ThreadPool Worker/INFO] [tML]: Adding Recipes...
[12:58:22] [.NET ThreadPool Worker/INFO] [StatusText]: Loading world data:
[12:58:22] [.NET ThreadPool Worker/INFO] [StatusText]: Settling liquids
[12:58:22] [Main Thread/INFO] [Terraria]: Entering world with player: ..., IsCloud=False, Size=4200x1200
[12:58:23] [Main Thread/WARN] [tML]: Silently Caught Exception: 
System.NullReferenceException: Object reference not set to an instance of an object.
   at Terraria.Graphics.Shaders.MiscShaderData.Apply(Nullable`1 drawData) in tModLoader\Terraria\Graphics\Shaders\MiscShaderData.cs:line 30
   at Terraria.GameContent.Shaders.WaterShaderData.DrawWaves() in tModLoader\Terraria\GameContent\Shaders\WaterShaderData.cs:line 150
   at Terraria.GameContent.Shaders.WaterShaderData.StepLiquids() in tModLoader\Terraria\GameContent\Shaders\WaterShaderData.cs:line 104
   at Terraria.GameContent.Shaders.WaterShaderData.PreDraw(GameTime gameTime) in tModLoader\Terraria\GameContent\Shaders\WaterShaderData.cs:line 282
   at Terraria.Main.DoDraw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 48517
   at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 48449
   at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 559
   at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 886
   at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 415
   at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 229
   at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 194
   at MonoLaunch.<>c__DisplayClass2_0.<Main>b__0() in tModLoader\Terraria\MonoLaunch.cs:line 65
   at System.Threading.Thread.StartCallback()

[12:58:23] [Main Thread/ERROR] [Terraria]: System.NullReferenceException: Object reference not set to an instance of an object.
   at Terraria.Graphics.Shaders.MiscShaderData.Apply(Nullable`1 drawData) in tModLoader\Terraria\Graphics\Shaders\MiscShaderData.cs:line 30
   at Terraria.GameContent.Shaders.WaterShaderData.DrawWaves() in tModLoader\Terraria\GameContent\Shaders\WaterShaderData.cs:line 150
   at Terraria.GameContent.Shaders.WaterShaderData.StepLiquids() in tModLoader\Terraria\GameContent\Shaders\WaterShaderData.cs:line 104
   at Terraria.GameContent.Shaders.WaterShaderData.PreDraw(GameTime gameTime) in tModLoader\Terraria\GameContent\Shaders\WaterShaderData.cs:line 282
   at Terraria.Main.DoDraw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 48517
   at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 48460
[12:58:23] [Main Thread/FATAL] [Terraria]: Main engine crash
System.NullReferenceException: Object reference not set to an instance of an object.
   at Terraria.Graphics.Shaders.MiscShaderData.Apply(Nullable`1 drawData) in tModLoader\Terraria\Graphics\Shaders\MiscShaderData.cs:line 30
   at Terraria.GameContent.Shaders.WaterShaderData.DrawWaves() in tModLoader\Terraria\GameContent\Shaders\WaterShaderData.cs:line 150
   at Terraria.GameContent.Shaders.WaterShaderData.StepLiquids() in tModLoader\Terraria\GameContent\Shaders\WaterShaderData.cs:line 104
   at Terraria.GameContent.Shaders.WaterShaderData.PreDraw(GameTime gameTime) in tModLoader\Terraria\GameContent\Shaders\WaterShaderData.cs:line 282
   at Terraria.Main.DoDraw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 48517
   at Terraria.Main.Draw(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 48460
   at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 559
   at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 886
   at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 415
   at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 229
[12:58:23] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: shutdown

TModLoader — это дополнение для популярной игры Terraria, которое позволяет устанавливать и использовать модификации. Загрузка модов может быть сложной задачей для некоторых пользователей, поэтому в этой статье мы предоставим подробное руководство по исправлению проблем с загрузкой модов в TModLoader.

Шаг 1: Проверьте совместимость модов

Перед установкой или обновлением модов убедитесь, что они совместимы с вашей версией TModLoader. Для этого вам потребуется проверить страницу мода на форуме Terraria Community Forums или на платформе Steam Workshop. Обратите внимание на версию TModLoader, указанную на странице мода, и убедитесь, что она совпадает с той, которую вы используете.

Шаг 2: Установите и настройте TModLoader

Если у вас еще нет TModLoader, вам необходимо установить его. Вы можете скачать TModLoader с официальной страницы на сайте Terraria Community Forums. Запустите установочный файл и следуйте инструкциям по установке.

После установки TModLoader убедитесь, что он отображается в вашем лаунчере Terraria. Если вы не видите TModLoader в списке, вам может потребоваться добавить его вручную.

Шаг 3: Проверьте целостность игры

Проблемы с загрузкой модов могут возникнуть из-за поврежденных файлов игры Terraria. Чтобы исправить это, вам нужно проверить целостность файлов игры.

  1. Запустите Steam и перейдите в вашу библиотеку игр.
  2. Найдите игру Terraria в списке и щелкните правой кнопкой мыши.
  3. Выберите «Свойства» и перейдите на вкладку «Локальные файлы».
  4. Нажмите на кнопку «Проверить целостность файлов игры».

Подождите, пока Steam проверит файлы игры на наличие ошибок или повреждений, и исправьте их, если обнаружены.

Шаг 4: Установите моды в правильные папки

Если все предыдущие шаги не привели к успеху, проблема может быть связана с неправильной установкой модов. Убедитесь, что вы помещаете файлы модов в правильные папки.

  1. Откройте папку, в которой установлен TModLoader.
  2. Найдите папку «Mods» и откройте ее.
  3. Скачайте мод, который вы хотите установить, и распакуйте его содержимое в папку «Mods».

Шаг 5: Проверьте конфликты модов

Может возникнуть проблема с загрузкой модов, если они несовместимы друг с другом. Убедитесь, что у вас нет конфликтующих модов.

  1. Откройте папку «Mods» в директории TModLoader.
  2. Переименуйте или удалите любые старые версии модов, которые вы больше не используете.
  3. Запустите TModLoader и выберите только те моды, которые вы хотите использовать.

Шаг 6: Обновите TModLoader, моды и игру

Если все вышеперечисленные шаги не помогли, попробуйте обновить TModLoader, моды и саму игру.

  1. Убедитесь, что у вас установлена последняя версия TModLoader. Если нет, скачайте и установите ее с официального сайта или Terraria Community Forums.
  2. Проверьте наличие обновлений для ваших модов. Скачайте и установите последние версии модов, совместимых с вашей версией TModLoader.
  3. Проверьте наличие обновлений игры Terraria и установите их из Steam или другой платформы.

Вывод

Следуя этому подробному руководству, вы сможете исправить проблемы с загрузкой модов в TModLoader. Убедитесь, что все моды совместимы с вашей версией TModLoader, и правильно установлены в папку «Mods». Если проблема все еще не решена, попробуйте обновить TModLoader, моды и саму игру Terraria. Счастливого моддинга!

  • Title: tModLoader
  • Release Date:
  • Developer:
  • Publisher:

Since the release of the tModLoader, players have been reporting several issues. Some of these issues are the tModLoader crashing, and worse, the game crashes during startup. This makes tModLoader totally unplayable. Fortunately, there’s still a way to fix these crashing issues in tModLoader. Below, you will find the most effective ways to fix these problems.

Check tModLoader System Requirements

Before we start with the actual troubleshooting, make sure that your PC meets the minimum requirements of tModLoader. If you did not meet at least the tModLoader minimum system requirements, it’s not a surprise why tModLoader is crashing on your PC. Upgrading your hardware is the best option to make tModLoader playable.

Update Your Drivers

Assuming that your PC was able to handle the system requirements of tModLoader, another reason why the game is crashing is due to the outdated drivers.

An outdated graphics driver, DirectX, and some unmonitored drivers are the reasons why tModLoader is crashing. It is highly recommended that you download the latest driver updates for your PC. If you don’t have enough time, patience, or skills to do a manual driver update, you can do it automatically with Driver Booster.

Driver Booster will automatically recognize your computer’s system and find the correct drivers for it. You don’t need to know exactly what your system is running as Driver Booster will handle all the technical stuff. Check the steps below on how to use this driver update tool.

Step 1: Download and install Driver Booster

Step 2: Run Driver Booster and click the “Scan” button. Driver Booster will then scan and detect any driver-related problems.

Step 3: Click the “Update Now” button to automatically download and install the correct drivers for your computer.

Step 4: Restart your PC for the update changes to take effect.

Step 5: Launch tModLoader and check if these crashing issues have been solved.

If the tModLoader crashing issue persists, you can try the next step.

Verify Game Integrity on Steam

Steam has a built-in feature that will allow you to verify the integrity of the game. Once performed, Steam will check if the files on your local machine are the same as the files on Steam servers. In case something is unsynchronized, Steam will download and repair any file-related concerns.

Here’s how you can perform this method:

  1. Open Steam and go to Library
  2. Right-click tModLoader and select Properties
  3. Go to the Local Files option then click Verify integrity of game files…
  4. Wait for Steam to validate tModLoader’s files
  5. Re-launch tModLoader to see if you can play it properly.

Perform Clean Boot

There’s a chance that another program, such as your antivirus, is causing these crashing issues. You can try performing a clean boot to make sure that no other programs are running in the background. To perform a clean boot, you can follow the steps below.

  1. Open the Run tool by pressing the Windows Key + R
  2. Type msconfig and hit Enter
  3. Go to the Services tab section
  4. Check Hide all Microsoft services
  5. Click the Disable all button
  6. Click apply and restart your computer

Run the game after the restart and check if there’s still a crashing issue.

Download and Install the Latest Patch

tModLoader crash is likely to be a bug that comes along with the previously released patch. Installing the latest patch could fix these problems. You can download the newest tModLoader update by simply launching the game on Steam.

Reinstall tModLoader and Steam

If you already tried all the recommended fixes above but the issue still sticks around, it’s likely that the current version of tModLoader or Steam installed on your PC is the main culprit. The uninstall-reinstall method may work for you.

This site contains affiliate links to products. We may receive a commission for purchases made through these links.

Понравилась статья? Поделить с друзьями:
  • Tmodloader terraria ошибка при запуске
  • Tmnt 2 battle nexus ошибка при запуске
  • Tls код оповещения о неустранимой ошибке 46
  • Tlauncher произошла ошибка minecraft
  • Tlauncher файл подкачки ошибка