Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UObject derived type raw variable members should be replaced by TObjectPtr<T> #322

Open
jmeyblumbhvr opened this issue Sep 18, 2024 · 0 comments

Comments

@jmeyblumbhvr
Copy link

As mentioned here: Incremental Garbage Collection
All UPROPERTY() members using UObject derived type raw pointer (T*) should be replaced by a TObjectPtr equivalent to allow project to enable Incremental Reachability Analysis safely.

Enabling this option can make for huge performance gains and will probably become a default or will be really common for projects to adopt.

Unreal mentions a tool named "UnrealObjectPtrTool" to help replacing those raw pointers automatically.

Most if not all UPROPERTY() members in the Houdini Plugin are raw pointers.

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

No branches or pull requests

1 participant