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.