Skip to content

Could not parse as a valid SB2 or SB3 project. #55

@Noahigh

Description

@Noahigh

When I tried to load a .sb3 file, I encountered the following error.

lib.min.js:181

{
    "validationError":"Could not parse as a valid SB2 or SB3 project.",
    "sb2Errors":[
        {
            "keyword":"required",
            "dataPath":"",
            "schemaPath":"#/required",
            "params":{
                "missingProperty":"objName"
            },
            "message":"should have required property 'objName'"
        }
    ],
    "sb3Errors":[
        {
            "keyword":"enum",
            "dataPath":".targets[1].isStage",
            "schemaPath":"sb3_definitions.json#/definitions/sprite/properties/isStage/enum",
            "params":{
                "allowedValues":[
                    false
                ]
            },
            "message":"should be equal to one of the allowed values"
        }
    ]
}

And I modify the isStage's value to 'false', it can be worked...

So... how to solve it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions