Skip to main content

Luna throws error Value cannot be null

This error is probably caused when declaring a variable by using the reserved keyword var. For example, var gameManager.

Possible solution:

  • Re-write the declaration explicitly. For example: GameManager gameManager