Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Yes the string of errors "

  ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_controller.gd:104 - Parse Error: Cannot have a key of type "assetplacer_state.gd::PlacementConfigState.PlacementMode" in a dictionary of type "Dictionary[PlacementMode, res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/strategy.gd]".

  ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_controller.gd:109 - Parse Error: Cannot have a key of type "assetplacer_state.gd::PlacementConfigState.PlacementMode" in a dictionary of type "Dictionary[PlacementMode, bool]".

  ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_controller.gd:271 - Parse Error: Cannot return value of type "assetplacer_state.gd::PlacementConfigState.PlacementMode" because the function return type is "PlacementMode".

  ERROR: res://addons/assetplacer/assetplacer_plugin.gd:0 - Compile Error: Failed to compile depended scripts.

  ERROR: modules/gdscript/gdscript.cpp:2907 - Failed to load script "res://addons/assetplacer/assetplacer_plugin.gd" with error "Compilation failed"." arise even before the plugin is enabled. 

 In placement_controller.gd every line within the init function that calls to the placementmode class gives an error "

_placement_strategies = {

PlacementMode.PLACE_ONLY: PlacementStrategy.new(),

PlacementMode.PLACE_AND_ROTATE: PlaceAndRotateStrategy.new(),

PlacementMode.PLACE_AND_PAINT: PaintStrategy.new(),

}

_is_mode_hologram_transformed = {

PlacementMode.PLACE_ONLY: true,

PlacementMode.PLACE_AND_ROTATE: true,

PlacementMode.PLACE_AND_PAINT: true,

# PlacementMode.

}" 

However the viewport script is error free as well as the viewport_3d_controller script is error free.