I got a report from some users of my SpawnDefaultToken script that the light/vision settings of their default tokens were not being honored by the spawned copies created by the script. I logged the default token JSON, and lo and behold none of the light settings are in it anymore (except night_vision_tint). This is obviously problematic. Here's an example default token JSON string: {\"left\":805,\"top\":525,\"width\":70,\"height\":70,\"imgsrc\":\"<a href="https://s3.amazonaws.com/files.d20.io/images/124230538/67oeuLPd4KHOz1LXmGCvCg/max.png?1587224846\",\"page_id\":\"-M4yZYf4nSwXQnIA96su\",\"layer\":\"objects\",\"name\":\"Druid\",\"represents\":\"-MCCp5FQM8AJzux0fBng\",\"bar1_value\":10,\"bar1_max\":10,\"bar1_num_permission\":\"hidden\",\"bar1_link\":\"-MCCpFpqZuiWTb-ua_k8\",\"bar2_num_permission\":\"hidden\",\"bar2_link\":\"sheetattr_ac\",\"bar3_num_permission\":\"hidden\",\"bar_location\":\"overlap_bottom\",\"compact_bar\":\"compact\",\"showname\":true,\"sides\":\"https://s3.amazonaws.com/files.d20.io/images/124230538/67oeuLPd4KHOz1LXmGCvCg/max.png?1587224846|https://s3.amazonaws.com/files.d20.io/images/124176586/apNLdoes8_dPHFGkX5kFcQ/max.png?1587218022|https://s3.amazonaws.com/files.d20.io/images/124162990/4zokqjNxIkolUcArGRiT4Q/max.png?1587216094|https://s3.amazonaws.com/files.d20.io/images/124280454/xvYXYi7fdtrHCYHbI5HVsA/max.png?1587229771|https://s3.amazonaws.com/files.d20.io/images/124150841/To2vGi41n64XEyQ1p7zxrQ/max.png?1587214186\",\"lastmove\":\"836,495\",\"night_vision_tint\":\"\" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/124230538/67oeuLPd4KHOz1LXmGCvCg/max.png?1587224846\",\"page_id\":\"-M4yZYf4nSwXQnIA96su\",\"layer\":\"objects\",\"name\":\"Druid\",\"represents\":\"-MCCp5FQM8AJzux0fBng\",\"bar1_value\":10,\"bar1_max\":10,\"bar1_num_permission\":\"hidden\",\"bar1_link\":\"-MCCpFpqZuiWTb-ua_k8\",\"bar2_num_permission\":\"hidden\",\"bar2_link\":\"sheetattr_ac\",\"bar3_num_permission\":\"hidden\",\"bar_location\":\"overlap_bottom\",\"compact_bar\":\"compact\",\"showname\":true,\"sides\":\"https://s3.amazonaws.com/files.d20.io/images/124230538/67oeuLPd4KHOz1LXmGCvCg/max.png?1587224846|https://s3.amazonaws.com/files.d20.io/images/124176586/apNLdoes8_dPHFGkX5kFcQ/max.png?1587218022|https://s3.amazonaws.com/files.d20.io/images/124162990/4zokqjNxIkolUcArGRiT4Q/max.png?1587216094|https://s3.amazonaws.com/files.d20.io/images/124280454/xvYXYi7fdtrHCYHbI5HVsA/max.png?1587229771|https://s3.amazonaws.com/files.d20.io/images/124150841/To2vGi41n64XEyQ1p7zxrQ/max.png?1587214186\",\"lastmove\":\"836,495\",\"night_vision_tint\":\"\</a>"} obtained from: spawnObj.get("_defaulttoken", function(defaultToken) {
log(defaultToken); ...removed a bunch of code here }); What gives?