Transport Fever 2

Transport Fever 2

Track/Street Modifier
lollus 24 Nov, 2023 @ 11:16am
Dump changing bridge type on standard track
After fiddling with the markers, which for some reason are directional (thus the fiddling), I was trying to change the type of a bridge, the track was standard but the bridge was not (it was one of the freestyle station bridges): the game dumped with:
Additional info extracted from the previous state:
Uncaught exception while in class UI::CSelector
Exception type: Fatal error

Details:

Assertion Failure: Assertion `m_meshes->Get(meshId)->va2vertexAttr[index].numComp == GetNumComponents(vertexInput.attributes[0].format) * (int)vertexInput.attributes.size()' failed.

Minidump: C:/Program Files (x86)/Steam/userdata/71590188/1066780/local/crash_dump/15dc3638-f0d9-4cc4-a37e-a17677e67380.dmp

In file: urban_games/train_fever/src/Lib/renderer/model/VaoManager.cpp:170

In function: const struct VertexBuffers &__cdecl VaoManager::Get(const class ITechnique *,int,int)


__CRASHDB_CRASH__ struct AssertException: urban_games/train_fever/src/Lib/renderer/model/VaoManager.cpp:170: const struct VertexBuffers &__cdecl VaoManager::Get(const class ITechnique *,int,int): Assertion `m_meshes->Get(meshId)->va2vertexAttr[index].numComp == GetNumComponents(vertexInput.attributes[0].format) * (int)vertexInput.attributes.size()' failed.
Exception type: Fatal error

Details:

Assertion Failure: Assertion `m_meshes->Get(meshId)->va2vertexAttr[index].numComp == GetNumComponents(vertexInput.attributes[0].format) * (int)vertexInput.attributes.size()' failed.

Minidump: C:/Program Files (x86)/Steam/userdata/71590188/1066780/local/crash_dump/15dc3638-f0d9-4cc4-a37e-a17677e67380.dmp

In file: urban_games/train_fever/src/Lib/renderer/model/VaoManager.cpp:170

In function: const struct VertexBuffers &__cdecl VaoManager::Get(const class ITechnique *,int,int)