Skip to content

crash when a property like material or position is null #97

@macrozone

Description

@macrozone

if you set material to null, app crashes with:

Exception '-[NSNull objectForKeyedSubscript:]: unrecognized selector sent to instance 0x1b4b31650' was thrown while invoking addPlane on target ARGeosManager with params (
        {
        material = "<null>";
        shape =         {
            height = "2.7";
            width = 0;
        };
    },
        {
        eulerAngles =         {
            x = 0;
            y = "1.570796326794897";
            z = 0;
        };
        id = "wall_0";
        position =         {
            x = 0;
            y = "1.35";
            z = 0;
        };
    },
    "<null>"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions