WorldState::WarnObsolete> TrainzGameObject.GetAsset> invalid call to GetAsset() prior

frogpipe

Yesterdayz Trainz Member
WorldState::WarnObsolete> TrainzGameObject.GetAsset> invalid call to GetAsset() prior

Is there some way to track down who is triggering

Code:
WorldState::WarnObsolete> TrainzGameObject.GetAsset> invalid call to GetAsset() prior to Init(Asset) being inherited

in jetlog.txt?? I've seen this since day one of TS12, so it's not an SP1 thing, but since it doesn't identify the asset or the script I don't have a clue how to find it.
 
I added -enablescriptlogging -enablescriptmessagelogging to trainzoptions.txt and found this:

Code:
?   0:51.9 :  
?   0:51.9 : WorldState::WarnObsolete> TrainzGameObject.GetAsset> invalid call to GetAsset() prior to Init(Asset) being inherited
?   0:51.9 : ScriptLog> function $void@Interface::WarnObsolete(string), line -1
?   0:51.9 : ScriptLog> function $Asset@TrainzGameObject::GetAsset(), line 155
?   0:51.9 : ScriptLog> function $void@VSRSignal::FindNextSignal(), line 209

I think line 3 is the printing of the message in line 2, but I have no greater clue as to where the TrainzGameObject call is coming from....

:confused:
 
The fifth line however does give a clue - it's being caused by one of Bloodnok's signals. Check if you have any of these in the route.

Shane
 
Back
Top