Skip to content

[Bug]: Farm 1 still doesn't exist in onStartMission! #38

@HamiltonLockhart42

Description

@HamiltonLockhart42

Description

Environment

Game: Farming Simulator 25 Dedicated Server

Game version: 1.16.0.2 b37953

ModDesc version: 106

Map: Yukon Back Country

Context: Fresh server reset / brand new savegame, mods re-added from scratch

Issue

On a fresh dedicated server start, UsedPlus logs a warning and then an error during mission startup indicating that Farm 1 does not exist yet.

The server still continues running and saves successfully afterward, but UsedPlus appears to be checking for Farm 1 too early during onStartMission.

Relevant log lines
onStartMission hook fired
2026-03-09 22:11:31.562 [UsedPlus] WARN: Farm check: g_farmManager=true, farm1=false
2026-03-09 22:11:31.563 [UsedPlus] ERROR: CRITICAL: Farm 1 still doesn't exist in onStartMission!

Additional related UsedPlus log lines

UsedPlus continues to hook save operations afterward and reports saving vehicle persistence data with zero farms / zero searches:

2026-03-09 22:41:19.414 [UsedPlus] WARN: saveToXMLFile hook: Saving to C:/SERVICES/ni11909842_2_local/lws25/profile/tempsavegame
2026-03-09 22:41:19.415 [UsedPlus] WARN: VehiclePersistence: Saved 0 searches across 0 farms to C:/SERVICES/ni11909842_2_local/lws25/profile/tempsavegame/usedPlusVehicles.xml
2026-03-09 22:41:19.417 [UsedPlus] WARN: saveToXMLFile hook: Complete
2026-03-09 22:41:28.435 Game saved successfully (savegame1).

These same save warnings repeat on later autosaves as well.

Expected behavior

UsedPlus should wait until farms are fully initialized before checking Farm 1 or initializing farm-based persistence data.

Actual behavior

UsedPlus logs:

Farm check: g_farmManager=true, farm1=false

CRITICAL: Farm 1 still doesn't exist in onStartMission!

Notes

I also saw performance warnings for UsedPlus GUI icon textures being in raw format:

Warning (performance): Texture profile/mods/FS25_UsedPlus/gui/icons/search.png raw format.
Warning (performance): Texture profile/mods/FS25_UsedPlus/gui/icons/sale.png raw format.
Warning (performance): Texture profile/mods/FS25_UsedPlus/gui/icons/inspect.png raw format.

These do not appear to be the main issue, but I’m including them in case they’re useful

Steps to Reproduce

Start a dedicated server with a fresh savegame

Load Yukon Back Country

Enable UsedPlus

Start the server

Check the server log during mission startup

UsedPlus Version

2.14.2.5

Other Mods Installed

FS25_0_MaterialProcessor — v1.3.4.0, FS25_0_TerraFarm — v1.1.2.0, FS25_0_TerraFarmMachines — v1.0.0.2, FS25_fillTypeExtender — v1.0.0.0, FS25_gameplay_Real_Vehicle_Breakdowns — v0.9.6.3, FS25_interactiveControl — v1.2.0.0beta1, FS25_JCB_Fastrac8330 — v1.0.0.0, FS25_JCB_Powerpack — v1.0.0.0, RGC_FS25_EDITS — v1.0.0.1, RGC_Productions — v1.0.0.3, RGC_Yukon_Back_Country_V2 — v2.0.0.1

Game Mode

Multiplayer (host)

Log File


Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingowner-repliedLast reply was from the repo owner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions