#Panorama does not create compiled files

1 messages · Page 1 of 1 (latest)

verbal wyvern
#

I accidentally deleted the compiled panorama files in the game folder and now the compiled files are not created and an error appears

On-demand recompile of asset panorama/layout/custom_game/custom_ui_manifest.vxml
Recompiling resource asset: 'panorama/layout/custom_game/custom_ui_manifest.vxml'

  • dota_addons\test_server\panorama\layout\custom_game\custom_ui_manifest.xml
    F:/SteamLibrary/steamapps/common/dota 2 beta/content/dota_addons/test_server/panorama/layout/custom_game/custom_ui_manifest.xml(3,6): RESOURCE COMPILE ERROR: Found duplicate root panel tag; only one per file permitted.
    ERROR recompiling: 'panorama/layout/custom_game/custom_ui_manifest.vxml'
    WARNING: ImmediatelyRefreshInformationAfterCompileAndReloadChildren failed to find asset for 'panorama/layout/custom_game/custom_ui_manifest.vxml' (abs='vpk:F:\SteamLibrary\steamapps\common\dota 2 beta\game\dota\pak01.vpk:panorama\layout\custom_game\custom_ui_manifest.vxml_c')
    WARNING: Failed on-demand recompile for asset panorama/layout/custom_game/custom_ui_manifest.vxml
simple prairie
#

as it says

root panel tag; only one per file
you got some syntax error in your custom_ui_manifest.xml
it be like:

<root>
</root>
<root>
</root> duplicate root panel tag
verbal wyvern
#

Of course i read it and check

#

It looks like

green cairn
#

You have more than one root in your screenshot. CustomUIElement tags supposed to be inside panel tag (root one)

verbal wyvern
#

thx, it at least compiled

#

thanks, it worked, but then why did it work before?

green cairn
#

In past valve compiler allowed way more stuff and now they fixed his code

#

No idea how and why it worked before

#

For example if your custom game is very old one and you don't recompiled panorama even once you may get "validating game files" bug after every game when dota loads very old panorama files and treat them as corrupted with endless validation of files until you recompile them

verbal wyvern
#

I think that perhaps earlier CustomUIElement were inside the panel and compiled after which I changed but the panorama left the old version or something like that