Can't compile on ue and have : was modified or is new

It’s not null in my project. Did you set it in the blueprint version of the c++ file or if a pure c++ after it spawns?