Skip to content

Update Object pointers to use TObjectPtr - #22

Open
BenVlodgi wants to merge 1 commit into
HoussineMehnik:mainfrom
BenVlodgi:pr-TObjectPtr
Open

Update Object pointers to use TObjectPtr#22
BenVlodgi wants to merge 1 commit into
HoussineMehnik:mainfrom
BenVlodgi:pr-TObjectPtr

Conversation

@BenVlodgi

@BenVlodgi BenVlodgi commented Mar 27, 2026

Copy link
Copy Markdown

This is the new standard way to use pointers. There is an build setting which we have enabled that requires pointers to be formatted this way.

For a little more information you can read about enforcing TObjectPtr here: Enforce TObjectPtr! (And how to avoid pitfalls)

GameEditor.Target.cs

NativePointerMemberBehaviorOverride = PointerMemberBehavior.Disallow;

This is the new standard way to use pointers, and is required by many projects and will fail validation without it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant