Validation error from outdated files in sys/versions (regression?)

Hi @nicoplv

I’ve identified the issue with your failed cook.

If you remove the line

using {UMG}

in your script, does it resolve the issue?

I’m curious if you also tried restarting the editor and re-loading the project with that line in place - does the editor prompt you about any Verse compilation errors?

1 Like

Thank you very much for your help.

I was finally able to launch a session.

Regarding your question: no, I have never encountered any verse compilation errors.

Also, to give you more information:
This morning, I discovered that when I removed the file containing that line, the cook error I had has disappeared. However, I still wasn’t able to launch a session but I was able to build a private code.
So I worked like that all afternoon, building private code to test my modifications, and now, after receiving your message, I tried launching a session again and it works!

So multiple issues in same time, but again thank you, everything seems to work now.

It seems like backwards compatibility was re-enabled in this patch and the issue was not fixed. Running into the issue again.

2 Likes

I’m encountering the Validation Error since the v36.10 update.
The errors appear to refer to Scene Graph related changes i.e. “_material”.
Currently the published island has Scene Graph disabled and have Scene Graph is enabled in project.

Island Code: 2878-0542-7931

C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/arena_info_ui.verse(49,46, 49,73) : Script error 3506: Unknown member `MI_ArenaPreview_UI_material` in `UI`.
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/arena_manager.verse(167,42, 167,62) : Script error 3506: Unknown member `M_Tree_Inst_material` in `Materials`.
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/arena_manager.verse(169,48, 169,72) : Script error 3506: Unknown member `MI_ArenaPreview_material` in `Materials`.
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/npc_codex_ui.verse(56,46, 56,73) : Script error 3506: Unknown member `MI_ArenaPreview_UI_material` in `UI`.
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/arena_info_ui.verse(49,89, 49,116) : Script error 3506: Unknown member `MI_ArenaPreview_UI_material` in `UI`.
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/arena_manager.verse(167,75, 167,95) : Script error 3506: Unknown member `M_Tree_Inst_material` in `Materials`.
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/arena_manager.verse(169,85, 169,109) : Script error 3506: Unknown member `MI_ArenaPreview_material` in `Materials`.
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/npc_codex_ui.verse(56,89, 56,116) : Script error 3506: Unknown member `MI_ArenaPreview_UI_material` in `UI`.
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/item_drop.verse(254,9, 260,1) : Script error 3510: This function returns a value of type material, but the function body's result is an incompatible value of type subtype(material).
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/arena_info_ui.verse(33,38, 33,57) : Script error 3509: This variable expects to be initialized with a value of type material, but this initializer is an incompatible value of type type(M_GradientCircle_UI, M_GradientCircle_UI).
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/game_progress_bar_ui.verse(62,38, 62,52) : Script error 3509: This variable expects to be initialized with a value of type material, but this initializer is an incompatible value of type type(M_BossIcon_MPC, M_BossIcon_MPC).
C:/Users/Jacky/Documents/LumberjackSurvivors/Plugins/LumberjackSurvivors/sys/published/Content/Modules/npc_codex_ui.verse(22,38, 22,65) : Script error 3506: Unknown member `MI_ArenaPreview_UI_material` in `UI`.
1 Like

Running into exact same problem here AFTER the update of today. Before worked fine:

When I build locally with zero changes, these issues don’t appear. When I try to launch a session this pops up.

D:/FortniteProjects/PVPTycoon/Plugins/PVPTycoon/sys/published/Content/TycoonStomper/cc/cc.verse(219,1, 251,1) : Script error 3593: Definition (/vasthorizons@fortnite.com/PVPTycoon/TycoonStomper/cc:)UpdateMaterialStatic is accessible from subpaths of /vasthorizons@fortnite.com/PVPTycoon/TycoonStomper, but depends on (/vasthorizons@fortnite.com/PVPTycoon/DTDML:)Dynamic_Letters_Static_material, which is only accessible from subpaths of /vasthorizons@fortnite.com/PVPTycoon/DTDML, /vasthorizons@fortnite.com/PVPTycoon. The definition should be no more accessible than its dependencies.
D:/FortniteProjects/PVPTycoon/Plugins/PVPTycoon/sys/published/Content/TycoonStomper/cc/cc.verse(252,1, 257,1) : Script error 3593: Definition (/vasthorizons@fortnite.com/PVPTycoon/TycoonStomper/cc:)StringToMaterialStatic is accessible from subpaths of /vasthorizons@fortnite.com/PVPTycoon/TycoonStomper, but depends on (/vasthorizons@fortnite.com/PVPTycoon/DTDML:)Dynamic_Letters_Static_material, which is only accessible from subpaths of /vasthorizons@fortnite.com/PVPTycoon/DTDML, /vasthorizons@fortnite.com/PVPTycoon. The definition should be no more accessible than its dependencies.
D:/FortniteProjects/PVPTycoon/Plugins/PVPTycoon/sys/published/Content/TycoonStomper/cc/cc.verse(258,1, 289,1) : Script error 3593: Definition (/vasthorizons@fortnite.com/PVPTycoon/TycoonStomper/cc:)UpdateMaterial is accessible from subpaths of /vasthorizons@fortnite.com/PVPTycoon/TycoonStomper, but depends on (/vasthorizons@fortnite.com/PVPTycoon/DTDML:)Dynamic_Letters_material, which is only accessible from subpaths of /vasthorizons@fortnite.com/PVPTycoon/DTDML, /vasthorizons@fortnite.com/PVPTycoon. The definition should be no more accessible than its dependencies.
D:/FortniteProjects/PVPTycoon/Plugins/PVPTycoon/sys/published/Content/TycoonStomper/cc/cc.verse(290,1, 294,1) : Script error 3593: Definition (/vasthorizons@fortnite.com/PVPTycoon/TycoonStomper/cc:)StringToMaterial is accessible from subpaths of /vasthorizons@fortnite.com/PVPTycoon/TycoonStomper, but depends on (/vasthorizons@fortnite.com/PVPTycoon/DTDML:)Dynamic_Letters_material, which is only accessible from subpaths of /vasthorizons@fortnite.com/PVPTycoon/DTDML, /vasthorizons@fortnite.com/PVPTycoon. The definition should be no more accessible than its dependencies.
1 Like

Yes this Issue is Scene Graph Related, what fixed that last Time for me was by changing the “EnableSceneGraph”: true to false in the .uplugin File, but now UEFN overrides it every time itself. Try that on your Project but I guess it wont work either. L Update at that Point…

1 Like

Issue back on my project :frowning:

C:/Users/Shadow/Documents/uefn-roguelike-project/UefnProject/Plugins/MainGame/sys/published/Content/Game/Scripts/Heros/damage_display.verse(32,5, 32,75) : Script error 3593: Definition (/loomio@fortnite.com/roguelikeproject/Game/Scripts/Heros/damage_display:)DigitMaterials is accessible from subtypes of damage_display, from subpaths of /loomio@fortnite.com/roguelikeproject, but depends on (/loomio@fortnite.com/roguelikeproject/Game/Materials:)DamageDigit_Opti, which is only accessible from subpaths of /loomio@fortnite.com/roguelikeproject/Game/Materials, /loomio@fortnite.com/roguelikeproject. The definition should be no more accessible than its dependencies.
C:/Users/Shadow/Documents/uefn-roguelike-project/UefnProject/Plugins/MainGame/sys/published/Content/Game/Scripts/Heros/damage_display_default.verse(21,5, 21,66) : Script error 3593: Definition (/loomio@fortnite.com/roguelikeproject/Game/Scripts/Heros/damage_display_default:)Entity is accessible from subtypes of damage_display_default, from subpaths of /loomio@fortnite.com/roguelikeproject, but depends on (/loomio@fortnite.com/roguelikeproject/Game/Prefabs:)DamageDigits_Default, which is only accessible from subpaths of /loomio@fortnite.com/roguelikeproject/Game/Prefabs, /loomio@fortnite.com/roguelikeproject. The definition should be no more accessible than its dependencies.
C:/Users/Shadow/Documents/uefn-roguelike-project/UefnProject/Plugins/MainGame/sys/published/Content/Game/Scripts/Heros/damage_display_secondary.verse(25,5, 25,68) : Script error 3593: Definition (/loomio@fortnite.com/roguelikeproject/Game/Scripts/Heros/damage_display_secondary:)Entity is accessible from subtypes of damage_display_secondary, from subpaths of /loomio@fortnite.com/roguelikeproject, but depends on (/loomio@fortnite.com/roguelikeproject/Game/Prefabs:)DamageDigits_Secondary, which is only accessible from subpaths of /loomio@fortnite.com/roguelikeproject/Game/Prefabs, /loomio@fortnite.com/roguelikeproject. The definition should be no more accessible than its dependencies.
C:/Users/Shadow/Documents/uefn-roguelike-project/UefnProject/Plugins/MainGame/sys/published/Content/Loomio/Text3D.verse(85,9, 85,89) : Script error 3593: Definition (/loomio@fortnite.com/roguelikeproject/Loomio/Text3D/char_prop:)Material is accessible from subpaths of /loomio@fortnite.com/roguelikeproject, but depends on (/loomio@fortnite.com/roguelikeproject/Game/Fonts:)NotoSans_Material, which is only accessible from subpaths of /loomio@fortnite.com/roguelikeproject/Game/Fonts, /loomio@fortnite.com/roguelikeproject. The definition should be no more accessible than its dependencies.
1 Like

We are also encountering this issue on our map (Kraken Bossfight - 3469-7377-0976). Verse builds fine, then hit with lots of validation errors at session launch.

We solved it in 36.00 by turning off SceneGraph, but now we are implementing SceneGraph and 36.10 has triggered the Validation errors to return.

We’ve been experimenting with a previous workaround of deleting the contents in the sys/versions folder. In 36.00 we were getting into sessions by deleting this, but this doesn’t seem to be working anymore for us.

2 Likes

Workaround of deleting folder is also not working for me this update.

2 Likes

Have you tried the workaround of editing the code in sys/versions? I found I could fix it by removing any code using the assets showing up in the errors.

@bennyboiz @nicoplv @BrendannnD this appears to be working for me again, can you check if you have the same?

Yes, it’s been working again since yesterday evening. Someone told us they pushed a hotfix.

1 Like