Issue with adding custom property of class cc.Color

Hi everyone!

We’re having a strange issue where if we add public property to a component of type cc.Color, the prefab becomes broken, can no longer be opened or instantiated. In most cases we can actually no longer close the Creator editor without using the OS Task Manager.

We are able to produce this in a clean project, by adding a sprite node to the scene. Creating a custom TS script, with a public cc.color property and adding it to the sprite node.

Has anyone else experienced this? We’re currently using Creator v1.5.1.

Thanks!

edit: With further testing, if you add a default value for the cc.color, the issues do not occur.