`Variable blocks don't appear in some projects (Uncaught TypeError: Cannot set property 'data ' of undefined)

In this project, in variables category, blocks do not appear and instead palette background is black.

Here's the error report:

byob.js?version=2020-01-03:359 Uncaught TypeError: Cannot set property 'data ' of undefined
    at byob.js?version=2020-01-03:359
    at Array.forEach (<anonymous>)
    at CustomBlockDefinition.parseChoices (byob.js?version=2020-01-03:349)
    at CustomBlockDefinition.dropDownMenuOf (byob.js?version=2020-01-03:341)
    at CustomBlockDefinition.inputOptionsOf (byob.js?version=2020-01-03:372)
    at CustomBlockDefinition.inputOptionsOfIdx (byob.js?version=2020-01-03:316)
    at blocks.js?version=2020-01-06:2607
    at Array.forEach (<anonymous>)
    at CustomReporterBlockMorph.BlockMorph.setSpec (blocks.js?version=2020-01-06:2579)
    at CustomReporterBlockMorph.CustomCommandBlockMorph.refresh (byob.js?version=2020-01-03:636)

seems to be an issue with an invalid newline character in the XML. I've fixed the file for you here:

3D Objects_fixed.xml.zip (3.8 KB)

Not sure what might have caused this. Did you edit the project name or anthing using the website instead of the editor recently (this is a long shot we're currently investigating).

For sure! :frowning_face: :frowning_face: :frowning_face:

I did recently, but luckily, nothing happened.

Custom dropdowns affect all projects

Really? I didn't know that. Thanks for telling me. :grinning: