Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load scene (whitelist related) #472

Open
dragonhunt02 opened this issue Jan 19, 2025 · 5 comments
Open

Can't load scene (whitelist related) #472

dragonhunt02 opened this issue Jan 19, 2025 · 5 comments
Labels
bug Something isn't working help wanted Extra attention is needed regression

Comments

@dragonhunt02
Copy link
Contributor

Issue description

Hosting server causes error TR_MENU_MAP_FAILED_VALIDATION

I tried a build reverting V-Sekai/godot@84fce68 and it works.
The problem is likely related to whitelists.

Full Log

  Godot Engine v4.4.beta.custom_build - https://godotengine.org
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeManifestFile::FindManifestFiles - failed to determine active runtime file path for this environment
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - unknown error
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to load a runtime
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime()
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties
ERROR: OpenXR: Failed to enumerate number of extension properties
   at: load_supported_extensions (modules/openxr/openxr_api.cpp:398)
WARNING: OpenXR was requested but failed to start.
Please check if your HMD is connected.
Godot will start in normal mode.

     at: initialize_openxr_module (modules/openxr/register_types.cpp:175)
ERROR: Required extension VK_KHR_surface not found.
   at: _initialize_instance_extensions (drivers/vulkan/rendering_context_driver_vulkan.cpp:487)
ERROR: Condition "err != OK" is true. Returning: err
   at: initialize (drivers/vulkan/rendering_context_driver_vulkan.cpp:928)
WARNING: Your video card drivers seem not to support the required Vulkan version, switching to OpenGL 3.
     at: DisplayServerX11 (platform/linuxbsd/x11/display_server_x11.cpp:6634)
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
glx: failed to create drisw screen
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
glx: failed to create drisw screen
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
glx: failed to create drisw screen
WARNING: Could not set V-Sync mode, as changing V-Sync mode is not supported by the graphics driver.
     at: set_use_vsync (platform/linuxbsd/x11/gl_manager_x11.cpp:360)
libpulse.so.0: cannot open shared object file: No such file or directory
libpulse.so.0: cannot open shared object file: No such file or directory
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2721:(snd_pcm_open_noupdate) Unknown PCM default
ERROR: Condition "status < 0" is true. Returning: ERR_CANT_OPEN
   at: init_output_device (drivers/alsa/audio_driver_alsa.cpp:90)
WARNING: All audio drivers failed, falling back to the dummy driver.
     at: initialize (servers/audio_server.cpp:246)
WARNING: 2D MSAA is not yet supported for GLES3.
     at: render_target_set_msaa (drivers/gles3/storage/texture_storage.cpp:2637)
WARNING: Auto exposure is only available when using the Forward+ or Mobile renderers.
     at: camera_attributes_set_auto_exposure (servers/rendering/storage/camera_attributes_storage.cpp:148)
WARNING: SubViewport is not a child of a SubViewportContainer. get_screen_transform doesn't return the actual screen position.
     at: get_screen_transform_internal (scene/main/viewport.cpp:5254)
ERROR: Error calling deferred method: 'Node(vsk_fade_manager.gd)::execute_fade': Method expected 1 arguments, but called with 2.
   at: _call_function (core/object/message_queue.cpp:222)
OpenGL API 4.5 (Core Profile) Mesa 24.0.9-0ubuntu0.3 - Compatibility - Using Device: Mesa - llvmpipe (LLVM 17.0.6, 256 bits)

Linking VSKAccountManager to VSKEditor...
Linking VSKExporter to VSKEditor...
VR platform pre-setup...
CONNECTING TO XRSERVER
V-Sekai Build: Build Date
DEVELOPER_BUILD
VSKEditor::_session_renew_started
VSKEditor::set_session_request_pending
VSKEditor::_session_request_complete
Could not log into V-Sekai (No token)...
VSKEditor::set_session_request_pending
Attempting to initialize OpenXR...
Could not initalize interface OpenXR...
Could not initalize any VR interface...
Installing service: Uro
Closing connection...
Resetting session data
_session_data_reset
_clear_all_player_scenes
Clearing all player display names
Clearing all player avatar paths
Clearing all validated peers
Clearing all player display names
Clearing all player avatar paths
Clearing all validated peers
Unloading current map...
Assigning instanced map...
Map cleared!
background_load_path_request_loading_task: res://addons/vsk_menu/main_menu/title_screen.tscn
Load res://addons/vsk_menu/main_menu/title_screen.tscn of type  **skip whitelist**
Successfully loaded resource: res://addons/vsk_menu/main_menu/title_screen.tscn
background_loader_destroy_loading_task: res://addons/vsk_menu/main_menu/title_screen.tscn
VSKEditor::_session_renew_started
VSKEditor::set_session_request_pending
VSKEditor::_session_request_complete
Could not log into V-Sekai (No token)...
VSKEditor::set_session_request_pending
Interface added Native mobile
Interface added OpenXR
background_loader_task_done: res://addons/vsk_menu/main_menu/title_screen.tscn, error: OK resource_path: res://addons/vsk_menu/main_menu/title_screen.tscn
background_load_path_request_loading_task: res://addons/vsk_menu/main_menu/loading_screen.tscn
Load res://addons/vsk_menu/main_menu/loading_screen.tscn of type  **skip whitelist**
Successfully loaded resource: res://addons/vsk_menu/main_menu/loading_screen.tscn
background_loader_destroy_loading_task: res://addons/vsk_menu/main_menu/loading_screen.tscn
background_loader_task_done: res://addons/vsk_menu/main_menu/loading_screen.tscn, error: OK resource_path: res://addons/vsk_menu/main_menu/loading_screen.tscn
background_load_path_request_loading_task: res://addons/vsk_menu/main_menu/ingame_menu_screen.tscn
Load res://addons/vsk_menu/main_menu/ingame_menu_screen.tscn of type  **skip whitelist**
Successfully loaded resource: res://addons/vsk_menu/main_menu/ingame_menu_screen.tscn
background_loader_destroy_loading_task: res://addons/vsk_menu/main_menu/ingame_menu_screen.tscn
background_loader_task_done: res://addons/vsk_menu/main_menu/ingame_menu_screen.tscn, error: OK resource_path: res://addons/vsk_menu/main_menu/ingame_menu_screen.tscn
background_load_path_request_loading_task: res://addons/vsk_menu/ingame_menu/ingame_gui.tscn
Load res://addons/vsk_menu/ingame_menu/ingame_gui.tscn of type  **skip whitelist**
Successfully loaded resource: res://addons/vsk_menu/ingame_menu/ingame_gui.tscn
background_loader_destroy_loading_task: res://addons/vsk_menu/ingame_menu/ingame_gui.tscn
background_loader_task_done: res://addons/vsk_menu/ingame_menu/ingame_gui.tscn, error: OK resource_path: res://addons/vsk_menu/ingame_menu/ingame_gui.tscn
background_load_path_request_loading_task: res://addons/vsk_entities/vsk_player_old.tscn
Load res://addons/vsk_entities/vsk_player_old.tscn of type  **skip whitelist**
Successfully loaded resource: res://addons/vsk_entities/vsk_player_old.tscn
background_loader_destroy_loading_task: res://addons/vsk_entities/vsk_player_old.tscn
background_loader_task_done: res://addons/vsk_entities/vsk_player_old.tscn, error: OK resource_path: res://addons/vsk_entities/vsk_player_old.tscn
GOT a finished signal!
Resetting session data
_session_data_reset
_clear_all_player_scenes
Clearing all player display names
Clearing all player avatar paths
Clearing all validated peers
Clearing all player display names
Clearing all player avatar paths
Clearing all validated peers
Unloading current map...
Assigning instanced map...
Map cleared!
GOT a finished signal!
VSKEditor::_session_request_complete
Could not log into V-Sekai (Not authenticated)...
VSKEditor::set_session_request_pending
session_container:_session_request_complete: Not authenticated
GOT a finished signal!
Resetting session data
_session_data_reset
_clear_all_player_scenes
Clearing all player display names
Clearing all player avatar paths
Clearing all validated peers
Clearing all player display names
Clearing all player avatar paths
Clearing all validated peers
Unloading current map...
Assigning instanced map...
Map cleared!
VSKNetworkManager: TODO: add support for game mode path 
Resetting session data
_session_data_reset
_clear_all_player_scenes
Clearing all player display names
Clearing all player avatar paths
Clearing all validated peers
Attempting to host authoritative server...
create_server_info...
_host_create_server_info
GOT a finished signal!
VSKEditor::_session_request_complete
Could not log into V-Sekai (Not authenticated)...
VSKEditor::set_session_request_pending
Uro Request: { "data": { "map": { "description": "", "id": "dddf8154-60a3-4c9f-888b-fb70c3e2655f", "is_public": true, "name": "Haven Alpha", "uploader_id": "7a4d9540-0abe-4313-98d7-6557ee08595e", "user_content_data": "/uploads/dddf8154-60a3-4c9f-888b-fb70c3e2655f_original.scn?v=63863270220", "user_content_preview": "/uploads/dddf8154-60a3-4c9f-888b-fb70c3e2655f_preview_original.png?v=63863270220" } } }
background_load_path_request_loading_task: user://asset_cache/227eb40aa93193290c8e2adef28b575a.scn
Load user://asset_cache/227eb40aa93193290c8e2adef28b575a.scn of type PackedScene with { "res://addons/entity_manager/entity.gd": true, "res://addons/vsk_entities/vsk_interactable_prop.tscn": true, "res://addons/network_manager/network_spawn.gd": true, "res://addons/vsk_importer_exporter/vsk_uro_pipeline.gd": true, "res://addons/vsk_importer_exporter/vsk_pipeline.gd": true, "res://addons/vsk_map/vsk_map_definition.gd": true, "res://addons/vsk_map/vsk_map_definition_runtime.gd": true, "res://vsk_default/audio/sfx/basketball_drop.wav": true, "res://vsk_default/import/beachball/Scene_-_Root.tres": true, "res://vsk_default/import/basketball_reexport/Scene_-_Root.tres": true, "res://addons/vsk_map/vsk_map_entity_instance_record.gd": true, "res://addons/network_manager/network_identity.gd": true, "res://addons/vsk_entities/extensions/test_entity_rpc_table.gd": true, "res://addons/network_manager/network_logic.gd": true, "res://addons/vsk_entities/extensions/test_entity_simulation_logic.gd": true, "res://addons/entity_manager/transform_notification.gd": true, "res://addons/entity_manager/hierarchy_component.gd": true, "res://addons/vsk_entities/extensions/prop_simulation_logic.gd": true, "res://addons/network_manager/network_hierarchy.gd": true, "res://addons/network_manager/network_transform.gd": true, "res://addons/network_manager/network_model.gd": true, "res://addons/network_manager/network_physics.gd": true, "res://addons/smoothing/smoothing.gd": true, "res://vsk_default/environments/default_env.tres": true } and { "AnimatedTexture": <GDScriptNativeClass#-9223372031251185392>, "Animation": <GDScriptNativeClass#-9223372031234408175>, "AnimationLibrary": <GDScriptNativeClass#-9223372031217630958>, "AnimationNodeAdd2": <GDScriptNativeClass#-9223372031167299307>, "AnimationNodeAdd3": <GDScriptNativeClass#-9223372031150522090>, "AnimationNodeAnimation": <GDScriptNativeClass#-9223372031133744873>, "AnimationNodeBlend2": <GDScriptNativeClass#-9223372031116967656>, "AnimationNodeBlend3": <GDScriptNativeClass#-9223372031100190439>, "AnimationNodeBlendSpace1D": <GDScriptNativeClass#-9223372031083413222>, "AnimationNodeBlendSpace2D": <GDScriptNativeClass#-9223372031066636005>, "AnimationNodeBlendTree": <GDScriptNativeClass#-9223372031049858788>, "AnimationNodeOneShot": <GDScriptNativeClass#-9223372030999527137>, "AnimationNodeOutput": <GDScriptNativeClass#-9223372030982749920>, "AnimationNodeStateMachine": <GDScriptNativeClass#-9223372030949195486>, "AnimationNodeStateMachineTransition": <GDScriptNativeClass#-9223372030915641052>, "AnimationNodeTimeScale": <GDScriptNativeClass#-9223372030865309401>, "AnimationNodeTimeSeek": <GDScriptNativeClass#-9223372030848532184>, "AnimationNodeTransition": <GDScriptNativeClass#-9223372030831754967>, "ArrayMesh": <GDScriptNativeClass#-9223372030731091665>, "AtlasTexture": <GDScriptNativeClass#-9223372030680760014>, "AudioStreamSample": <GDScriptNativeClass#-9223372029690904211>, "AudioStreamWAV": <GDScriptNativeClass#-9223372029690904211>, "AudioStreamOggVorbis": <GDScriptNativeClass#-9223372029942562466>, "BoxMesh": <GDScriptNativeClass#-9223372029523132041>, "BoxShape3D": <GDScriptNativeClass#-9223372029489577607>, "CameraAttributesPhysical": <GDScriptNativeClass#-9223372029187587701>, "CameraAttributesPractical": <GDScriptNativeClass#-9223372029170810484>, "CapsuleMesh": <GDScriptNativeClass#-9223372029003038314>, "CapsuleShape3D": <GDScriptNativeClass#-9223372028969483880>, "ConcavePolygonShape3D": <GDScriptNativeClass#-9223372028466167370>, "ConvexPolygonShape3D": <GDScriptNativeClass#-9223372028348726851>, "Curve": <GDScriptNativeClass#-9223372028264840766>, "Curve2D": <GDScriptNativeClass#-9223372028248063549>, "Curve3D": <GDScriptNativeClass#-9223372028231286332>, "CurveTexture": <GDScriptNativeClass#-9223372028214509115>, "CurveXYZTexture": <GDScriptNativeClass#-9223372028197731898>, "CylinderMesh": <GDScriptNativeClass#-9223372028180954681>, "CylinderShape3D": <GDScriptNativeClass#-9223372028164177464>, "Environment": <GDScriptNativeClass#-9223372027040103925>, "GradientTexture1D": <GDScriptNativeClass#-9223372026016693688>, "GradientTexture2D": <GDScriptNativeClass#-9223372025999916471>, "HeightMapShape3D": <GDScriptNativeClass#-9223372025681149348>, "ImageTexture": <GDScriptNativeClass#-9223372025563708829>, "LightmapGIData": <GDScriptNativeClass#-9223372024708070762>, "Mesh": <GDScriptNativeClass#-9223372024439635290>, "MeshLibrary": <GDScriptNativeClass#-9223372024355749205>, "MeshTexture": <GDScriptNativeClass#-9223372024338971988>, "NavigationMesh": <GDScriptNativeClass#-9223372023919541563>, "NoiseTexture2D": <GDScriptNativeClass#-9223372023567220006>, "ORMMaterial3D": <GDScriptNativeClass#-9223372023533665572>, "PackedScene": <GDScriptNativeClass#-9223372022862576892>, "PhysicalSkyMaterial": <GDScriptNativeClass#-9223372022510255335>, "PanoramaSkyMaterial": <GDScriptNativeClass#-9223372022728359156>, "ProceduralSkyMaterial": <GDScriptNativeClass#-9223372021621062834>, "PhysicsMaterial": <GDScriptNativeClass#-9223372022325705948>, "PlaneMesh": <GDScriptNativeClass#-9223372021839166655>, "PointMesh": <GDScriptNativeClass#-9223372021788835004>, "PrimitiveMesh": <GDScriptNativeClass#-9223372021654617268>, "PrismMesh": <GDScriptNativeClass#-9223372021637840051>, "Resource": <GDScriptNativeClass#-9223372020782201984>, "Shader": <GDScriptNativeClass#-9223372019893009483>, "ShaderMaterial": <GDScriptNativeClass#-9223372019825900615>, "Shape3D": <GDScriptNativeClass#-9223372019792346181>, "Skin": <GDScriptNativeClass#-9223372019473579058>, "Sky": <GDScriptNativeClass#-9223372019440024624>, "StandardMaterial3D": <GDScriptNativeClass#-9223372019054148633>, "StyleBoxEmpty": <GDScriptNativeClass#-9223372018869599246>, "SphereMesh": <GDScriptNativeClass#-9223372019322584105>, "SphereShape3D": <GDScriptNativeClass#-9223372019289029671>, "CompressedTexture2D": <GDScriptNativeClass#-9223372028550053455>, "PortableCompressedTexture2D": <GDScriptNativeClass#-9223372021671394485>, "Cubemap": <GDScriptNativeClass#-9223372028298395200>, "CubemapArray": <GDScriptNativeClass#-9223372028281617983>, "Texture2D": <GDScriptNativeClass#-9223372018416614387>, "Texture2DArray": <GDScriptNativeClass#-9223372018399837170>, "Texture3D": <GDScriptNativeClass#-9223372018349505519>, "TextureLayered": <GDScriptNativeClass#-9223372018265619434>, "Image": <GDScriptNativeClass#-9223372025614040480>, "ViewportTexture": <GDScriptNativeClass#-9223372017443535801>, "VoxelGIData": <GDScriptNativeClass#-9223372015447046978>, "WorldBoundaryShape3D": <GDScriptNativeClass#-9223372015195388723>, "Occluder3D": <GDScriptNativeClass#-9223372023483333921>, "QuaERROR: Failed loading resource: res://addons/vsk_map/vsk_map_definition_runtime.gd. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:340)
ERROR: Can't load dependency: 'res://addons/vsk_map/vsk_map_definition_runtime.gd'.
   at: parse_variant (core/io/resource_format_binary.cpp:461)
ERROR: Error when trying to parse Variant.
   at: parse_variant (core/io/resource_format_binary.cpp:505)
ERROR: Error when trying to parse Variant.
   at: parse_variant (core/io/resource_format_binary.cpp:492)
ERROR: Failed loading resource: user://asset_cache/227eb40aa93193290c8e2adef28b575a.scn. Make sure resources have been imported by opening the project in the editor at least once.
   at: _load (core/io/resource_loader.cpp:340)
Invalid resource: user://asset_cache/227eb40aa93193290c8e2adef28b575a.scn

Steps to reproduce

  1. Run V-Sekai
  2. Host server
  3. Error TR_MENU_MAP_FAILED_VALIDATION

Minimal reproduction project (For SDK or engine issues)

No response

Using a released version?

No

What OS? Any other relevant information? (V-Sekai version, Godot revision, System information)

Ubuntu 24.04 editor latest.v-sekai-editor-148

@dragonhunt02 dragonhunt02 added the bug Something isn't working label Jan 19, 2025
@fire
Copy link
Member

fire commented Jan 19, 2025

What version of v-sekai game?

Assuming 342d93a

@dragonhunt02
Copy link
Contributor Author

Yes, I cloned from git

@fire
Copy link
Member

fire commented Jan 21, 2025

@dragonhunt02
Copy link
Contributor Author

I will check it out

@fire
Copy link
Member

fire commented Jan 21, 2025

See also V-Sekai/godot#42

@fire fire added help wanted Extra attention is needed regression labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed regression
Projects
None yet
Development

No branches or pull requests

2 participants