SmartShape2D icon indicating copy to clipboard operation
SmartShape2D copied to clipboard

Problems migrating game from 3.5 to 4.2

Open brehiner opened this issue 1 year ago • 3 comments

All my game is made with this addon and I have so many shapes. In the proccess of migrate my game I have to delete the addon and back to install it but now show many errors similar to this: E 0:00:00:0524 _parse_ext_resource: res://prefabs/GUI/main.tscn:49 - Parse Error: [ext_resource] referenced non-existent resource at: res://addons/rmsmartshape/assets/GUI_Theme.tres <C++ Source> scene/resources/resource_format_text.cpp:163 @ _parse_ext_resource().

This is another erro: E 0:00:01:0713 start.gd:26 @ _on_Button_pressed(): Compressed texture file is corrupt (Bad header). <C++ Error> Method/function failed. Returning: ERR_FILE_CORRUPT <C++ Source> scene/resources/compressed_texture.cpp:46 @ _load_data() <Stack Trace> start.gd:26 @ _on_Button_pressed().

So I copie the file GUI_Theme.tres from old version but still there are many errors

brehiner avatar Aug 21 '24 13:08 brehiner

There is a lot of work involved in porting a large project from 3.x to 4.x. It took me several days for my project. I think we could use more context. Can you provide a log file?

CLARIFICATION: SmartShape2D itself shouldn't cause breaking issues, as long as you replace it with the supported version. The only issue I encountered is that repeating textures needs to be enabled on the node itself or using CanvasTexture.

limbonaut avatar Aug 21 '24 14:08 limbonaut

This is strange, because I had no smart shape related problems while porting my project. I also don't know why your scenes have a reference to the smart shape gui theme, as this should only be used by the plugin itself.

Do your scenes load fine otherwise or are the shapes broken?

mphe avatar Aug 21 '24 14:08 mphe

@brehiner Is this still relevant?

mphe avatar Sep 06 '24 17:09 mphe

Closing this because of inactivity and likely not being an SS2D issue. If the issue persists, let us know and we can reopen.

mphe avatar Nov 28 '24 11:11 mphe