Download

TWeakPtr not working with slate.

I want to make 2 slate widgets have pointers to each other. Whats the best way to use pointers to do that?

In general case when inter-pointing a UObject and a SlateWidget, using 1 WeakObjectPtr and SharedPtr does the task.

But slates are not UObjects so WeakObjectPtr wont work here. I tried to replace it with WeakPtr and got error.
Any other way to do it?

I have seen TWeakPtr used with Slate many times, so it should work in general.
What error do you have?