Spawning Actor from Class in Standalone Mode crashes

I have a BP function with a local “Class” variable that stores the class of a custom actor. The value of that variable is being set manually via default value (that is, NOT during runtime). Now when running in standalone mode and spawning an actor in BP using the current value of that variable, the game crashes. It works when I play in PIE or in a packaged build. Interestingly it also works when I set the value of the variable during runtime.

So the crash only occurs in standalone mode and when the value of the variable is manually set via default value.

Hello,

  • Could you please provide your logs from your project’s Saved->Logs folder after the crash occurs again?
  • Could you please provide your Machine ID from the Crash Reporter window and ensure to hit send on the report?
  • Do you have any steps we can follow to reproduce the issue on our end? (just in case I’m missing some steps, which could be causing me to see a different result than what you’re seeing).

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day