Good concept, and the level randomisation works well! I think you used a rigidbody for the character which messes with the collisions, you can replace this with a character controller to fix it.