Skip to content

'offsetof' on non-standard-layout type cause crash #165

@chenbinhi

Description

@chenbinhi

When i use BNM_CustomField to add new Field, this is a compiler error:
'offsetof' on non-standard-layout type 'GameLogic::_BNMCustomClassType' (aka 'GameLogic')

Image Image

and this also crash the game with "null pointer dereference".

is any offsetof replacement in this case?

Thanks

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