Static mesh not showing up (spline)

Hello everyone,

I’m running into problems where if I use this piece of code, my mesh does not show up:

325659-2.jpg

If I switch to another mesh it shows:

325660-3.jpg

What am I’m missing here? It used to work… I’ve recently updated to version 4.26

Thank you!