Update:
I managed to fix the script errors.
They were caused because the changes had not been saved correctly even though I did save and compile it…
However it doesn’t work.
I can’t scale the particle system anyway.
You can literally copy and paste the code from Blueprint UE. That’s why I put it there. Your code looks different. You’ve got two add nodes that weren’t present in the original code:
Here, try this… I copied the code and pasted it into a text file. Just copy this from PasteBin and paste it into your custom Niagara script and it will add all the nodes for you:
Sorry, I don’t use UE5. There’s no reason the text or Blueprintue nodes shouldn’t paste though. Strange. Try downloading 4.26 or 4.27 and then creating the asset there and then migrating it to UE5? Someone else suggested that too.