Typo in LivingWorld config file - Traffic Vehicles Sample

Version: 1.XX.XX.X

Frequency: Consistently

Severity: Blocker
Context: TrafficVehicleSample from SDK Samples

Bug description: The TrafficVehiclesSample project, when built and installed, fails to modify in-game vehicle models as described in the documentation. Vehicles within the targeted region are not being replaced according to the definitions in the XML.

Also a discrepancy was noted in the sample’s XML: specified World Region is ‘R’ (Tropics), but the description says the target region is Europe (Germanic).

I tested both and neither location showed the expected vehicle replacements.

Repro steps:

  • Download SDK Samples, unpack TrafficVehiclesSample.
  • Build the project package using the SDK tools.
  • Install the generated package into the Community folder.
  • Launch the simulator and observe traffic vehicles within the configured region

Attachments:

TrafficVehicles.zip (2.7 MB)

Hello,

What’s your game and sdk version ?

Regards,
Boris

@Boris
Hello Boris.
SDK 1.4.5
Samples 1.4.5
FS24 1.5.27.0

All latest

Hello @pyreegue

The comment in the xml is indeed a typo. This will be fixed.

However, I tested the sample and it works.
Where did you spawn ?
Can you spawn at MMMX and test again ?

Regards,
Boris

Just tested, does work at MMMX. I’ll investigate further than, though it seems it might’ve been a hiccup of some sort. Weird

From time to time when I’m too fast, I spawn at Mexico (KMYJ). This is obviously not in the correct world region :slight_smile:

Maybe you did the same.

.

Tagging this issue as bug logged for the documentation part.

Regards,
Boris

2 Likes

@Boris maybe it wasn’t a hiccup after all. When I change the GUID to mine, it does not replace the models. Can you consult with the programmers, maybe there’s a hardcoded vertex limit for traffic models? My model does work when I spawn it. Both the sample and my car are in one folder, correct GUID.

When I replace the GUID with my custom model, package builds as normal, no errors in the console, but the SPB file does not update. As soon as I replace it with the sample model, SPB file gets updated and works.

@pyreegue
I just tested exporting a single mesh (Suzanne from blender) and it works.

Did you test with the package in your community folder ?

Regards,
Boris

@Boris i figured it out. Traffic models have a hardcoded limit of 1 node/drawcall. That’s why my models were not showing up.

2 Likes

Hello,

The typo in the LivingWorld config file is fixed in the last sdk sample release (1.5.7)

Regards,
Boris

1 Like

@Boris Thanks. Have you also added the note about 1 draw call hard limit to SDK manuals?

2 Likes

This topic has been automatically closed after 60 days of inactivity since it was marked as fixed.

If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.