# Where did my assets go?

**URL:** <https://forum.makecode.com/t/where-did-my-assets-go/21519>\
**Category:** Help\
**Created:** [July 27, 2023, 5:38pm UTC](https://forum.makecode.com/t/where-did-my-assets-go/21519 "2023-07-27T17:38:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [July 27, 2023, 5:38pm UTC](https://forum.makecode.com/t/where-did-my-assets-go/21519/1 "2023-07-27T17:38:14Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/b/bf31ab661990a865a96d67f4221584fddc48428a.png)  
I have a saved copy so it’s not that bad I didn’t lose much. However I would like to know why this happened so other people who don’t make frequent backups don’t get into worse situations and incase I forget to make a backup.

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [July 27, 2023, 6:03pm UTC](https://forum.makecode.com/t/where-did-my-assets-go/21519/2 "2023-07-27T18:03:25Z")

</div>

This almost killed red-line

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [July 27, 2023, 6:03pm UTC](https://forum.makecode.com/t/where-did-my-assets-go/21519/3 "2023-07-27T18:03:42Z")

</div>

@Luke can you share the broken version of the project?

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [July 27, 2023, 8:30pm UTC](https://forum.makecode.com/t/where-did-my-assets-go/21519/4 "2023-07-27T20:30:19Z")

</div>

> **[Prehistoric v0-8-1 Broken Assets](https://arcade.makecode.com/S63542-50737-24520-80657)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [July 27, 2023, 9:14pm UTC](https://forum.makecode.com/t/where-did-my-assets-go/21519/5 "2023-07-27T21:14:16Z")

</div>

@Luke @danger_kitty if this ever happens to you again, if you could immediately open the developer tools and copy everything in the console then I would extremely appreciative!

To open the developer tools it’s `ctrl-shift-i` on windows and `command-option-i` on macos

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [July 27, 2023, 9:48pm UTC](https://forum.makecode.com/t/where-did-my-assets-go/21519/6 "2023-07-27T21:48:16Z")

</div>

Okay yeah when it happens I just load up a backup and continue coding if y’all could fix it I would like that but I know fixing bugs is hard specially, if you don’t know what it is

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [August 21, 2023, 9:27pm UTC](https://forum.makecode.com/t/where-did-my-assets-go/21519/7 "2023-08-21T21:27:10Z")

</div>

It happened again 😩  
and I didn’t save 🤬

> **Here is the code**
>
> ```auto
> Browser: chrome 116.0.0.0 on windows
>  
> e.reportException @ pxtapp.js:1
> workspace: browser
> PouchDB adapter: idb
> pxt.azureedge.net/api/md/arcade/hero-banner?targetVersion=1.12.35&cdn=20230821:1 Failed to load resource: net::ERR_FAILED
> 21Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('<URL>') does not match the recipient window's origin ('<URL>').
> performance report:
> first JS running @ 69ms
> DOM loaded @ 137ms
> workspace init finished @ 914ms
> loading started #newproject @ 837m0s
> loading done #updateeditorfile @ 837m1s
> loading done #newproject @ 837m2s
> simulator ready @ 864m15s
> 
> loadBlockly took ~ 297ms
> domUpdate loadBlockly took ~ 181ms
> createProjectAsync took ~ 1s244ms (837m0s - 837m2s)
> webworker recvHandler took ~ 78ms
> webworker recvHandler took ~ 51ms
> webworker recvHandler took ~ 57ms
> webworker recvHandler took ~ 64ms
> webworker recvHandler took ~ 60ms
> webworker recvHandler took ~ 53ms
> webworker recvHandler took ~ 55ms
> webworker recvHandler took ~ 53ms
> webworker recvHandler took ~ 117ms
> 
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> m
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> i
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> n
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> :
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> v
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 6
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile24`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile30`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile23`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile27`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> 2 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile13`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Ignoring call to start simulator, either already running or we shouldn't start.
> ignoring built in block: lists_length
> 2 error: main.ts(1352,9): error TS2322: Type '0' is not assignable to type 'string'.
> 
> ignoring built in block: text_length
> error: main.ts(1352,9): error TS2322: Type '0' is not assignable to type 'string'.
> 
> DBG-MSG breakpoint Object
> DBG-MSG breakpoint Object
> error: main.ts(1352,52): error TS2552: Cannot find name 'sprite'. Did you mean 'mySprite'?
> 
> warning: Oops, we could not run this project. Please check your code for errors.
> 3 error: main.ts(1352,52): error TS2552: Cannot find name 'sprite'. Did you mean 'mySprite'?
> 
> warning: Oops, we could not run this project. Please check your code for errors.
> DBG-MSG breakpoint Object
> DBG-MSG breakpoint Object
> DBG-MSG breakpoint Object
> DBG-MSG variables Object
> DBG-MSG breakpoint Object
> DBG-MSG variables Object
> DBG-MSG breakpoint Object
> DBG-MSG variables Object
> DBG-MSG breakpoint Object
> DBG-MSG breakpoint Object
> DBG-MSG breakpoint Object
> DBG-MSG variables Object
> DBG-MSG breakpoint Object
> DBG-MSG variables Object
> DBG-MSG breakpoint Object
> DBG-MSG variables Object
> DBG-MSG breakpoint Object
> DBG-MSG variables Object
> DBG-MSG breakpoint Object
> DBG-MSG breakpoint Object
> DBG-MSG variables Object
> DBG-MSG variables Object
> DBG-MSG variables Object
> Tried to start the same gesture twice.
> Blockly.WorkspaceSvg.getGesture @ pxtblockly.js:1
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> m
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> i
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> n
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> :
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> v
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 6
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile24`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile30`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile23`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile27`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> 2 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile13`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Couldn't find block for: locationTiles
> Object
> Couldn't find block for: locationTiles
> Object
> Couldn't find block for: locationTiles
> Object
> Couldn't find block for: locationTiles
> Object
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`transparency8`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> error: main.ts(373,9): error TS2365: Operator '==' cannot be applied to types 'false' and 'true'.
> 
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> m
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> i
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> n
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> :
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> v
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
> invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 6
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile24`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile30`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile23`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile27`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> 2 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile13`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> 2 ignoring built in block: lists_length
> DBG-MSG breakpoint Object
> DBG-MSG breakpoint Object
> DBG-MSG breakpoint Object
> DBG-MSG breakpoint Object
> DBG-MSG breakpoint Object
> pxtapp.js:1 DBG-MSG breakpoint Object
> pxtapp.js:1 DBG-MSG breakpoint Object
> pxtapp.js:1 DBG-MSG variables Object
> pxtapp.js:1 DBG-MSG variables Object
> pxtapp.js:1 DBG-MSG variables Object
> pxtapp.js:1 DBG-MSG variables Object
> pxtapp.js:1 DBG-MSG variables Object
> pxtapp.js:1 error: main.ts(1118,21): error TS2322: Type 'false' is not assignable to type 'number'.
> 
> pxtapp.js:1 error: main.ts(50,63): error TS2339: Property 'removeAt' does not exist on type 'number'.
> error: main.ts(980,5): error TS2322: Type '(number | string[])[]' is not assignable to type 'number[]'.
> Type 'number | string[]' is not assignable to type 'number'.
> Type 'string[]' is not assignable to type 'number'.
> 
> main.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getVirtualFileName')
> at main.js:1:129840
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> m
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> i
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> n
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> :
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> v
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 6
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile24`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile13`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile30`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile23`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile27`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile13`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtsim.js:1 Simulator ServiceWorker registration successful with scope: https://trg-arcade.userpxt.io/
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> m
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> i
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> n
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> :
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> v
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 0
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> .
> pxtapp.js:1 invalid upgrade rule: github:microsoft/arcade-sprite-data#v0.2.1 -> 6
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile24`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile13`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile30`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile23`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile27`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile13`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtapp.js:1 error: main.ts(53,9): error TS2554: Expected 1 arguments, but got 0.
> error: main.ts(55,9): error TS2554: Expected 1 arguments, but got 0.
> error: main.ts(57,9): error TS2554: Expected 1 arguments, but got 0.
> error: main.ts(946,37): error TS1135: Argument expression expected.
> error: main.ts(1982,1): error TS2554: Expected 1 arguments, but got 0.
> error: main.ts(1988,1): error TS2554: Expected 1 arguments, but got 0.
> error: main.ts(1989,30): error TS1135: Argument expression expected.
> 
> sim.js:1152 Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently
> draw @ sim.js:1152
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile24`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile13`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile30`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile23`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile27`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> pxtblockly.js:1 Cannot set the dropdown's value to an unavailable option. Block type: tileset_tile_picker, Field name: tile, Value: assets.tile`myTile13`
> Blockly.FieldDropdown.doClassValidation_ @ pxtblockly.js:1
> 
> ```

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [August 21, 2023, 9:27pm UTC](https://forum.makecode.com/t/where-did-my-assets-go/21519/8 "2023-08-21T21:27:26Z")

</div>

@richard it seems to be something to do with the sprite data extension
