endlessm / godot-block-coding

Block-based visual programming plugin for Godot
https://godotengine.org/asset-library/asset/3095
MIT License
244 stars 16 forks source link

SimpleCharacter texture can dissapear while editing #213

Closed manuq closed 1 week ago

manuq commented 1 week ago

What Happened

If I switch to another scene, the texture dissapears from the editor: Grabación de pantalla desde 2024-09-05 10-14-19.webm

Trying to set the texture again shows an error in the Output panel (see below).

By the way in the game it looks fine.

How to Reproduce

  1. Add a SimpleCharacter node
  2. Add a texture to it
  3. Switch to another scene, then back

Block Coding Plugin Version

main

Godot Engine Version

v4.3

Operating System

Endless OS

Logs or command-line output

res://addons/block_code/simple_nodes/simple_character/simple_character.gd:47 - Invalid assignment of property or key 'texture' with value of type 'CompressedTexture2D' on a base object of type 'Nil'.

Anything else?

No response