Darksteel350
New member
Im having trouble with this assest it keeps saying this error, the tag 'unit_mesh' is not permitted within a container of type 'bridge ', and I dont know how to fix it, if anyone does please let me know.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<kuid:-1:101206> Bridge 2t Brick, this is the version im having the error with.I can see 4 versions of "Bridge 2t Bridge" - 2 are "Packaged" and 2 are "Available for download, Obsolete". All 4 are by Auran and all are Trainz build 1.3 which makes them very old assets. None of them are reporting errors.
<kuid:-25:23> Bridge 2t Brick
<kuid:-1:101159> Bridge 2t Brick
<kuid:-25:272> Bridge 2t Brick
<kuid:-1:101206> Bridge 2t Brick
So unless you can identify the exact one (or another one if it is not listed above) then there is little anyone can do.
The message "unit_mesh is not permitted in a container of type 'bridge'" means that the config.txt file for that asset has been incorrectly edited or constructed.
The easiest solution may be to replace the bridge with a different one.
This has been made obsolete by <kuid:-25:23> Bridge 2t Brick which is in the DLC package "East Coast Main Line - Dundee".<kuid:-1:101206> Bridge 2t Brick
The Solution:trackoffsets -2,2
height -8
bridgetrack 100673
bendy 0
length 19.9
istrack 1
width 19
unit_mesh
kind "bridge"
region "Germany"
kuid 101206
type "Bridges"
username "Bridge_2t_Brick"
username-de "Brücke_2t_Ziegel"
username-pl "most_2tory_ceglany"
username-fr "pont_2v_briques"
username-nl "Bridge_2t_Brick"
username-cz "Most_2k_zděný"
username-es "Puente_2v_Ladrillo"
username-it "Ponte_2t_Mattone"
asset-filename "ger_brickbridge_double"
username-hu "Bridge_2t_Brick"
username-ru "Мост_2_пути_кирпичный"
kuid-table
{
0 <kuid:-1:100673>
}
i did that, and im having no more errors, but it still says faulty, the warnigs are saying required tag 'trackdirections' was missing and has been set to default, and required 'thumbnails' is missing. what do i do now?This has been made obsolete by <kuid:-25:23> Bridge 2t Brick which is in the DLC package "East Coast Main Line - Dundee".
I just installed the obsolete <kuid:-1:101206> version and opened up its config.txt file for editing. It does contain an error which I have emphasized in bold, red, enlarged text in the copy below. That line should not be there - it may have been correct for the version of Trainz it was created for (but unlikely) but it certainly does not belong in more modern versions such as TRS19 and later.
The Solution:
- In Content Manager right click on the asset <kuid:-1:101206> Bridge 2t Brick
- Select the options Open then Edit Config File Text. This will load the config.txt file into your text editor
- In the text editor highlight and delete the line containing "unit_mesh"
- Save and exit the text editor
- Back in Content Manager right click on the asset, which will now be shown as "Open for edit", and select Submit Edits
nevermind i had to rebuild databasei did that, and im having no more errors, but it still says faulty, the warnigs are saying required tag 'trackdirections' was missing and has been set to default, and required 'thumbnails' is missing. what do i do now?
Basically yes. That plus new features that were introduced in those versions required new config.txt settings and data formats that did not previously exist. Hence new assets are not be backwardly compatible with older Trainz versions and some older assets may struggle to work (or not work at all) in newer Trainz versions. The build number assigned to an asset tells Trainz which compliance tests to apply to the asset. For example, all assets with a build number of 5.1 will only work in Trainz+/TRS22 and later, build number 5.2 requires the SP1 version of Trainz+/TRS22 and later, 5.3 requires Trainz+/TRS22 SP2, etc.Is that why assets that had warnings or even no warnings in older versions of Trainz but have errors in newer versions is because 12, TANE, 19, 22, etc. have more strict checking?
Fixing some errors requires a detailed knowledge of scripting. Some can only be fixed by the original creator of the asset who has the Blender/3D Max files.Some errors are easy to fix .... but some errors are difficult or impossible to fix
A route that only works properly in 12 or TANE I can't use any 2019 and up only assets in it.