Curve asset null while trying to create Curve for Timeline

O Gobo
Tue, 30 Jan 2024 20:48:50 +0000
C++

I’ve been trying to replicate some of the blueprint functions in my project, and I’m working on the crouch function now, so I was following a tutorial on how to create a Timeline and add a Curve to it. The problem now is the Curve file can’t even be found to begin with.

It just says null, even though I created the Curve inside the Unreal Editor and put it in that path, what can I do now? I’m not so sure if creating the file from inside the Editor is the correct approach or even if it should be called from the constructor, but I don’t know how else I’d do this. I also had to comment out the "check(Curve.Succeeded()); " line, because otherwise Unreal just crashes on startup.

2 posts - 2 participants