Casting to spawned actor causes editor to crash

This stops the game from crashing! Thanks - however, even after I assign the blueprint in the editor, the empty slot class seems to get back a null reference and the cast does not happen. Any idea why this could be?