Skip to content

Data wont import #220

Open
Open

Description

@RazorBladeGamer

Godot version: 4.4.1

Can not import data.pandora lists the amount of categories and entities then says no data

To Reproduce
Steps to reproduce the behavior:

  1. copy the data below into a .pandora file
  2. try to import the file

Expected behavior
The file should import

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10

Image

Additional context

this data was the saved data.pandora file I just renamed it as it was not loading on start up, I have not changed the data its self

{ "_entity_data": { "_categories": [ { "_category_id": "30", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 1/1x/Asset 72.png", "_id": "20.0", "_index": 3, "_name": "Keep_Items" }, { "_category_id": "31", "_generate_ids": true, "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 2.png", "_id": "23.0", "_ids_generation_class": "Weapons", "_index": 3, "_name": "Weapons" }, { "_category_id": "", "_generate_ids": true, "_icon_color": "ffffff00", "_id": "41.0", "_ids_generation_class": "ArmorSlot", "_index": 0, "_name": "Armor_Slot" }, { "_category_id": "", "_generate_ids": true, "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/emoji icons/assets_linear_32_flatmsicons_867.png", "_id": "1", "_ids_generation_class": "Rarity", "_index": 0, "_name": "Rarity" }, { "_category_id": "", "_generate_ids": true, "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/emoji icons/assets_linear_32_flatmsicons_743.png", "_id": "8", "_ids_generation_class": "Spells", "_index": 0, "_name": "Spells", "_script_path": "res://pandora/entitys/spells.gd" }, { "_category_id": "", "_generate_ids": true, "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 1/1x/Asset 72.png", "_id": "30", "_ids_generation_class": "Items", "_index": 0, "_name": "Items" }, { "_category_id": "30", "_generate_ids": true, "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 2.png", "_id": "31", "_ids_generation_class": "Equipment", "_index": 0, "_name": "Equipment" }, { "_category_id": "44", "_generate_ids": true, "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 3/1x/Asset 17.png", "_id": "42", "_ids_generation_class": "Matirals", "_index": 1, "_name": "Matrials" }, { "_category_id": "42", "_generate_ids": true, "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 3/1x/Asset 8.png", "_id": "43", "_ids_generation_class": "Ores", "_index": 0, "_name": "Ores" }, { "_category_id": "30", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 1/1x/Asset 77.png", "_id": "44", "_index": 0, "_name": "Stackable" }, { "_category_id": "42", "_generate_ids": true, "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/emoji icons/assets_linear_32_flatmsicons_304.png", "_id": "47", "_ids_generation_class": "Wood", "_index": 0, "_name": "Wood" }, { "_category_id": "67", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 51.png", "_id": "52", "_ids_generation_class": "Armor", "_index": 0, "_name": "Head", "_property_overrides": { "slot": { "type": "reference", "value": { "_entity_id": "31.0", "_type": 0 } } } }, { "_category_id": "67", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 54.png", "_id": "53", "_ids_generation_class": "Armor", "_index": 8, "_name": "Torso", "_property_overrides": { "slot": { "type": "reference", "value": { "_entity_id": "32.0", "_type": 0 } }, "type": { "type": "string", "value": "" } } }, { "_category_id": "67", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 14.png", "_id": "58", "_ids_generation_class": "Armor", "_index": 9, "_name": "Gloves", "_property_overrides": { "slot": { "type": "reference", "value": { "_entity_id": "35.0", "_type": 0 } }, "type": { "type": "string", "value": "" } } }, { "_category_id": "67", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 18.png", "_id": "59", "_ids_generation_class": "Armor", "_index": 11, "_name": "Legs", "_property_overrides": { "slot": { "type": "reference", "value": { "_entity_id": "33.0", "_type": 0 } }, "type": { "type": "string", "value": "" } } }, { "_category_id": "69", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 72.png", "_id": "62", "_index": 3, "_name": "Neck", "_property_overrides": { "slot": { "type": "reference", "value": { "_entity_id": "51.0", "_type": 0 } } } }, { "_category_id": "69", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 70.png", "_id": "63", "_index": 5, "_name": "Rings", "_property_overrides": { "slot": { "type": "reference", "value": { "_entity_id": "37.0", "_type": 0 } } } }, { "_category_id": "69", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 71.png", "_id": "64", "_index": 4, "_name": "Belts", "_property_overrides": { "slot": { "type": "reference", "value": { "_entity_id": "36.0", "_type": 0 } } } }, { "_category_id": "31", "_generate_ids": true, "_icon_color": "ffffff00", "_id": "67", "_ids_generation_class": "Armor", "_index": 0, "_name": "Armor" }, { "_category_id": "67", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 16.png", "_id": "68", "_ids_generation_class": "Armor", "_index": 0, "_name": "Feet", "_property_overrides": { "slot": { "type": "reference", "value": { "_entity_id": "34.0", "_type": 0 } }, "type": { "type": "string", "value": "" } } }, { "_category_id": "31", "_generate_ids": true, "_icon_color": "ffffff00", "_id": "69", "_ids_generation_class": "Accessories", "_index": 0, "_name": "Accessories" }, { "_category_id": "43.0", "_generate_ids": true, "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 92.png", "_id": "72", "_ids_generation_class": "Consumables", "_index": 1, "_name": "Consumables" }, { "_category_id": "23.0", "_icon_color": "ffffff00", "_id": "57.0", "_index": 0, "_name": "MainHand", "_property_overrides": { "slot": { "type": "reference", "value": { "_entity_id": "53.0", "_type": 0 } } } }, { "_category_id": "", "_icon_color": "ffffff00", "_id": "58.0", "_index": 0, "_name": "Crafts" }, { "_category_id": "58.0", "_icon_color": "ffffff00", "_id": "63.0", "_index": 0, "_name": "Foundy" }, { "_category_id": "58.0", "_icon_color": "ffffff00", "_id": "65.0", "_index": 0, "_name": "New Category" } ], "_entities": [ { "_category_id": "41.0", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 51.png", "_id": "31.0", "_index": 0, "_name": "Head" }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 54.png", "_id": "32.0", "_index": 0, "_name": "Torso" }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 18.png", "_id": "33.0", "_index": 0, "_name": "Legs" }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 16.png", "_id": "34.0", "_index": 0, "_name": "Feet" }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 2/1x/Asset 14.png", "_id": "35.0", "_index": 0, "_name": "Gloves" }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_id": "36.0", "_index": 0, "_name": "Belt" }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_id": "37.0", "_index": 0, "_name": "Ring" }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_id": "38.0", "_index": 0, "_name": "Arm" }, { "_category_id": "1", "_icon_color": "363d4aff", "_id": "2", "_index": 0, "_name": "common", "_property_overrides": { "modifier": { "type": "float", "value": 0.5 }, "name": { "type": "string", "value": "Common" } } }, { "_category_id": "8", "_icon_color": "ff0000ff", "_id": "19", "_index": 0, "_name": "fireball", "_property_overrides": { "discription": { "type": "string", "value": "fires a fireball to deal damage" }, "effect": { "type": "resource", "value": "<Object#null>" }, "icon": { "type": "resource", "value": "res://assets/icons/Skills/Skills_15.png" }, "mana_cost": { "type": "int", "value": 10 }, "name": { "type": "string", "value": "fireball" } } }, { "_category_id": "8", "_icon_color": "353dffff", "_id": "22", "_index": 0, "_name": "ice shard", "_property_overrides": { "discription": { "type": "string", "value": "fires a shard of ice" }, "effect": { "type": "resource", "value": "<Object#null>" }, "icon": { "type": "resource", "value": "res://assets/icons/Skills/Skills_05_01.png" }, "mana_cost": { "type": "int", "value": 20 }, "name": { "type": "string", "value": "ice shard" } } }, { "_category_id": "1", "_icon_color": "3fdd42ff", "_id": "23", "_index": 0, "_name": "uncommon", "_property_overrides": { "name": { "type": "string", "value": "Uncommon" } } }, { "_category_id": "1", "_icon_color": "1cfaffff", "_id": "26", "_index": 0, "_name": "rear", "_property_overrides": { "modifier": { "type": "float", "value": 1.5 }, "name": { "type": "string", "value": "Rear" } } }, { "_category_id": "1", "_icon_color": "ff1111ff", "_id": "27", "_index": 0, "_name": "very rear", "_property_overrides": { "modifier": { "type": "float", "value": 2.5 }, "name": { "type": "string", "value": "Very Rear" } } }, { "_category_id": "43", "_icon_color": "ff9b00ff", "_id": "48", "_index": 0, "_name": "copper", "_property_overrides": { "max amount": { "type": "int", "value": 500 }, "name": { "type": "string", "value": "Copper" }, "rarity": { "type": "reference", "value": { "_entity_id": "2", "_type": 0 } } } }, { "_category_id": "43", "_icon_color": "696969ff", "_id": "49", "_index": 0, "_name": "iron", "_property_overrides": { "max amount": { "type": "int", "value": 500 }, "name": { "type": "string", "value": "Iron" } } }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_id": "51.0", "_index": 0, "_name": "Neck" }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_icon_path": "res://addons/pandora/icons/Object.svg", "_id": "53.0", "_index": 12, "_name": "MainHand" }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_icon_path": "res://addons/pandora/icons/Object.svg", "_id": "54.0", "_index": 13, "_name": "OffHand" }, { "_category_id": "41.0", "_icon_color": "ffffff00", "_icon_path": "res://addons/pandora/icons/Object.svg", "_id": "55.0", "_index": 11, "_name": "2Hand" }, { "_category_id": "43", "_icon_color": "a7a7a7ff", "_id": "59.0", "_index": 0, "_name": "tin" }, { "_category_id": "43", "_icon_color": "cd7f32ff", "_id": "61.0", "_index": 0, "_name": "bronze" }, { "_category_id": "43", "_icon_color": "b5a642ff", "_id": "62.0", "_index": 0, "_name": "brass" }, { "_category_id": "63.0", "_icon_color": "cd7f32ff", "_icon_path": "res://assets/icons/Sungraphica icons/PNG and PSD - Light/Icon set 3/1x/Asset 8.png", "_id": "66.0", "_index": 0, "_name": "bronzeCraft", "_property_overrides": { "item1": { "type": "reference", "value": { "_entity_id": "48", "_type": 0 } }, "item1Amount": { "type": "int", "value": 7 }, "item2": { "type": "reference", "value": { "_entity_id": "59.0", "_type": 0 } }, "item2Amount": { "type": "int", "value": 1 } } } ], "_properties": [ { "_category_id": "8", "_default_value": "", "_id": "9", "_name": "name", "_type": "string" }, { "_category_id": "8", "_default_value": 0, "_id": "10", "_name": "mana_cost", "_type": "int" }, { "_category_id": "8", "_default_value": null, "_id": "17", "_name": "effect", "_type": "resource" }, { "_category_id": "8", "_default_value": "", "_id": "18", "_name": "discription", "_type": "string" }, { "_category_id": "8", "_default_value": null, "_id": "21", "_name": "icon", "_type": "resource" }, { "_category_id": "1", "_default_value": "", "_id": "24", "_name": "name", "_type": "string" }, { "_category_id": "1", "_default_value": 1.0, "_id": "29", "_name": "modifier", "_type": "float" }, { "_category_id": "30", "_default_value": "", "_id": "33", "_name": "name", "_type": "string" }, { "_category_id": "30", "_default_value": { "_entity_id": "2", "_type": 0 }, "_id": "40", "_name": "rarity", "_type": "reference" }, { "_category_id": "44", "_default_value": 0, "_id": "45", "_name": "amount", "_type": "int" }, { "_category_id": "44", "_default_value": 0, "_id": "46", "_name": "max amount", "_type": "int" }, { "_category_id": "30", "_default_value": 0.0100002288818359, "_id": "51", "_name": "weight", "_type": "float" }, { "_category_id": "67", "_default_value": "", "_id": "70", "_name": "type", "_type": "string" }, { "_category_id": "31", "_default_value": null, "_id": "50.0", "_name": "slot", "_setting_overrides": { "Category Filter": "41.0" }, "_type": "reference" }, { "_category_id": "63.0", "_default_value": null, "_id": "67.0", "_name": "item1", "_type": "reference" }, { "_category_id": "63.0", "_default_value": 0, "_id": "68.0", "_name": "item1Amount", "_type": "int" }, { "_category_id": "63.0", "_default_value": null, "_id": "69.0", "_name": "item2", "_type": "reference" }, { "_category_id": "63.0", "_default_value": 0, "_id": "70.0", "_name": "item2Amount", "_type": "int" } ] }, "_id_generator": { "_ids_by_context": { "default": 70.0 } } }

Activity

  1. RazorBladeGamer commented on Apr 20, 2025

    @RazorBladeGamer
    Author

    Ok fixed it for some reason "value": "<Object#null>" was pushed in rather than the correct category.

    some category Ids are floats and some ints 43 was saved as both 43 and 43.0 causing another error.

    another error was that it couldn't find script file that was resource property even though it was listed correctly.

    I don't know what caused any of this good luck working it out cause I'm just confused. It was all working fine for ages then just didn't one day. As for user behaviour I make sure to save everything regularly and make sure I save before closing.

  2. bitbrain commented on Apr 22, 2025

    @bitbrain
    Owner

    some category Ids are floats and some ints 43 was saved as both 43 and 43.0 causing another error.

    this should never happen. Interesting. I'll look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions