(Make sure ‘QMap’ is registered using qRegisterMetaType().
The included script is not initialised and lead to an Error like :
Uncaught exception at ( “Entities” ) line 18 : "ReferenceError: Can’t find variable: ChangeColorOnHover"
To replicate the Error, just put http://s3.amazonaws.com/hifi-public/scripts/entityScripts/changeColorOnHover.js
in the ScriptURL of an Entity.
I also tried this with a script that does nothing else then including a second Script that only consists of an empty object ( no data, no functions ), with the same Result, so i’m confident, it’s the include that causes the Error.
I tested with 2666 on OS X. I can’t say if this also occurs with Windows.