Are you getting a “Cast to StaticMeshActor failed” error? I was encountering when extending the maze generator from Actor. I never tried to extend from HUD since SaxonRah suggested extending from Actor.
I ended up changing all AStaticMeshActor from the example code to AActor. resolved the error that I was encountering and the maze is randomly generated. I only made change as one of the various troubleshooting attempts, so I don’t have a reason to back up my decision.