Home

2024

Worklog

LETSGO Game

UObject Pointer Madness

Date
December 5, 2023
Hours
2
Tags
UnrealCodeC++

Ok continuing with my struggle on making a working Get/Set method accessors for UQuartzClockHandle I attempted to set the reference of MainClock as a TWeakObjectPtr

I got it to a state where Rider stopped complaining.. ie. compilable, but the compile/build failed at with some cryptic error.

I wonder if I’m missing some kind of intialization/allocation of something.

The intent here is for ALetsGoGameState to never initialize members, only have them set by owning objects

C++ Hard.