Resolved Client crash report on custom map (stable version 1.1.5)

Users who are viewing this thread

Version number
v1.1.5.
Branch
Main
Modded/unmodded
Modded
Hello,

Summary:
So we're creating a game of thrones themed map for Persistent Empires. After solving all the in-editor errors, making sure all of the PE scripts were correct we tried launching the server with the map and it worked.
But once any client enters an engine crash happens and we can't join. We hooked DNSPY to see what the error was but since its an engine crash we don't really understand it.
We removed 90% of the objects, made sure scripted ladders weren't scaled, changed atmosphere to a previous working one from another map, removed all flora and occ boxes absolutely every attempt we did still gave us the same result and error in DNSPY.

We do not know the cause and this map represents a vital mark for the mod's development as it's supposed to be our base map for "stable 1.0 release" and if we don't delay we can't get another one in time.

We only want to understand what is the root cause of this engine error.

How to Reproduce: Try to connect on the server with GoT_Torrentine_v7 as map ==> client crash

Scene Name (if related): GoT_Torrentine_v7

Media (Screenshots & Video):
Code:
[23:47:10.145] TaleWorlds.MountAndBlade.View.Screens.MissionScreen::HandleActivate

[23:47:10.146] TaleWorlds.MountAndBlade.View.Screens.MissionScreen::HandleResume

[23:47:10.333] Loading xml file: C:/Program Files (x86)/Steam/steamapps/workshop/content/261550/2937242207/SceneObj/GoT_Torrentine_v7/scene.xscene.
[23:47:10.405] Loading xml file: C:/Program Files (x86)/Steam/steamapps/workshop/content/261550/2937242207/SceneObj/GoT_Torrentine_v7/atmosphere.xml.
[23:47:11.838]

Unhandled Exception Code 0xC0000005 at adress 0x7FF91492ADAD
<#######################################################>

#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:961965
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:2413237
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:2413303
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:2413303
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:2405092
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:1718344
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:2134470
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:380965
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:1716338
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:2133809
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:2133608
#TaleWorlds.Native.pdb@{5970C8E1E5AF4B95B013269A6FC547A6} (1): 0:2137399
#ucrtbase.pdb@{152B3C4F5E1CE0FE6BC36E9F0F2B10E6} (1): 0:138162
#kernel32.pdb@{F193989D78E17120B3BC156240BD021E} (1): 0:95764
#ntdll.pdb@{E87B47365C121B112AC6799AA39F717F} (1): 0:337585
-----------------------------------------------
#TaleWorlds.DotNet.AutoGenerated.pdb@{B510B1D511594E65B0E73D4B0D800859} (1): 100663315:0



[23:47:11.856] OnGameWindowFocusChange: False

[23:47:11.856] TopScreen: MissionScreen

[23:47:15.308]
[23:47:15.308] Working Memory: 3319 MB
[23:47:15.308] Commit Memory: 5175 MB

[23:47:15.308] Page Allocator Memory:
[23:47:15.308] DumpTimeStamp: /2023-07-21_21.47.15
[23:47:15.308] AutoReport: Disabled

Crash report ID : 2023-07-22_19.05.37_7c71e245f92b1954b0190ff3e5a1645d

Don't hesitate to contact me if you need more element.
Thanks for your help.
 
Last edited:
Hi, the crash occurs due to too many entities being used on the scene. We will look into making this unlimited for scenes used in community mods with a future patch. In the meantime, you can try reducing the number of entities.
 
We fixed the issue with v1.2.3.
  • Fixed a crash that occurred on modded scenes due to a limit on the number of entities used.
This was not in fact fixed. I am on 1.2.7 and my map still crashes after adding a significant amount of entities past what I currently have. It is most definitely not an issue about how the entities were placed, because these are predictable and generate reports. This crash I have replicated both by adding functional fiefs and by adding empty entities.

The crash goes directly to desktop and cannot be debugged either. To me that looks like a memory issue. Any way I can gather more information about in game logs?
 
Back
Top Bottom