Strange error on Game Dev Tycoon

I was playing my game last night, and when I tried opening it this morning I got this error:

Error Alert
TypeError: Cannot read property ‘length’ of undefined

If the issue persists please report this error to support@greenheartgames.com

Enabled Mods:

No mods activated.
Game Version: 1.5.28

Platform: Mac

Distribution: Steam

It can happen when the game is updating or when you manipulated something. To fix it, just reinstall the game!