Where did my assets go?


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.

3 Likes

This almost killed red-line

2 Likes

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

5 Likes
1 Like

@Luke @Lucas_M-DangerKitty 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

4 Likes

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

2 Likes

It happened again :weary:
and I didn’t save :face_with_symbols_over_mouth:

Here is the code
 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
1 Like

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

1 Like