Skip to content

the map version in runtime is always not the same as the version in the editor which have edited and reimported #80

@h0l1day117

Description

@h0l1day117

Describe the bug
I imported the vmf, run the game, close the game, edited the vmf in hammer, import the vmf again in godot and it looks the same as the edited version in the editor which is good. then i run the game but in the game it's the former version of the map, not the edited version, which can be seen in the editor. not only the geometry, but the entities including their flags are not changed in the game. but after idk i run and shut the game for some times it will change properly.

Provide vmf.config.json if you have one

{
	"gameinfo_path": "res://sourcemod/",

	"import": {
		"scale": 0.02,
		"generate_collision": true,
		"generate_lightmap_uv2": true,
		"lightmap_texel_size": 0.4,
		"instances_folder": "res://sourcemod/instances",
		"entities_folder": "res://sourcemod/entities",
		"geometry_folder": "res://sourcemod/geometry",
		"use_navigation_mesh": true,
		"navigation_mesh_preset": "res://sourcemod/presets/navigation_mesh.tres",
		"entity_aliases": {
			"npc_ghost": "res://sourcemod/objects/npc_ghost/npc_ghost.tscn"
		}
	},

	"models": {
		"import": true,
		"lightmap_texel_size": 0.4,
		"target_folder": "res://sourcemod/mod"
	},

	"materials": {
		"import_mode": 1,
		"ignore": [
			"TOOLS/TOOLSNODRAW",
			"TOOLS/TOOLSSKYBOX",
			"TOOLS/TOOLSINVISIBLE"
		],
		"fallback_material": null,
		"default_texture_size": 512,
		"target_folder": "res://sourcemod/mat"
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions