BlueprintNativeEvent function implement errors, can't open project

It could be because you are interacting with a static variable from within a blueprint exposed function. Unreal doesn’t play well with that mix.

Ignore the green underline warning. It should compile fine.