S_R
May 15, 2024, 7:02am
21
Hi!
try to migrate from 1.6.4, and got this issue
opened 03:24PM - 10 Apr 24 UTC
The attached spine file (images excluded, but should be sufficient for testing) … causes the editor to fail to load a project (i.e. crash) if using extension-spine 2.15.0 or later, i.e. it's good in 2.14.5
The file was exported with Spine 4.1.19 so should be compatible.
This prevents us from upgrading to Defold 1.7.1
[new_guide.zip](https://github.com/defold/extension-spine/files/14934189/new_guide.zip)
Editor log from 1.7.0 on Mac M1:
```
2024-04-11 13:46:40.808 129 [JavaFX-Launcher] WARN javafx - Unsupported JavaFX configuration: classes were loaded from 'unnamed module @62a0b4d9'
2024-04-11 13:46:41.745 1066 [Thread-5] INFO com.defold.libs.ResourceUnpacker - deleting old unpack dirs from /Users/dri/Library/Application Support/Defold/unpack
2024-04-11 13:46:41.750 1071 [Thread-5] INFO com.defold.libs.ResourceUnpacker - deleting unpack dir /Users/dri/Library/Application Support/Defold/unpack/b0edf484dd57b331ee109e527e03249787bf3e87
2024-04-11 13:46:41.757 1078 [Thread-5] INFO com.defold.libs.ResourceUnpacker - Already unpacked for the editor version 9ad2d7834a6adfaedcd902a8e6f9997ed5cbb507
2024-04-11 13:46:41.759 1080 [Thread-5] INFO com.defold.libs.ResourceUnpacker - defold.unpack.path=/Users/dri/Library/Application Support/Defold/unpack/9ad2d7834a6adfaedcd902a8e6f9997ed5cbb507
2024-04-11 13:46:44.393 3714 [Timer-1] INFO editor.updater - {:line 303, :message "Checking for updates", :url "https://d.defold.com/editor2/channels/editor-alpha/update-v4.json"}
2024-04-11 13:46:44.637 3958 [Timer-1] INFO editor.updater - {:line 309, :message "New version found", :sha1 "ecdec42bff4ffde46635964bd0b16561b9498216"}
2024-04-11 13:47:05.194 24515 [clojure-agent-send-off-pool-0] INFO editor.workspace - {:line 474, :msg "Loading plugin defold-spine/editor/src/spineext.clj"}
2024-04-11 13:47:06.694 26015 [clojure-agent-send-off-pool-0] INFO editor.workspace - {:line 479, :msg "Loaded plugin defold-spine/editor/src/spineext.clj"}
2024-04-11 13:47:06.695 26016 [clojure-agent-send-off-pool-0] INFO editor.workspace - {:line 474, :msg "Loading plugin defold-spine/editor/src/spineguiext.clj"}
2024-04-11 13:47:06.932 26253 [clojure-agent-send-off-pool-0] INFO editor.workspace - {:line 479, :msg "Loaded plugin defold-spine/editor/src/spineguiext.clj"}
```
We’re currently using a fork with the 1.7.1 change for EULER/ROTATION, but without the later breaking changes.
The spine fix mentioned above has been merged.
2 Likes
It seems like slice is not working properly if the sprite is flipped using set_vflip. I also tried to set the slice from bottom to top, but it didn’t work either. Am I doing something wrong here?
EDIT:
Github issue: sprite.set_vflip breaks/doesn't flip the slice · Issue #9102 · defold/defold · GitHub
Min repo case: https://github.com/user-attachments/files/15896568/9scale-vflip-issue.zip
-- Slice is set from editor : vmath.vector4(0, 0, 0, 19) -- BOTTOM
sprite.set_vflip('/pipe#pipe', true) -- THIS DOESNT FLIP THE SLICE
Left is sliced from bottom on Editor, right is just flipped:
-- Slice is set from editor : vmath.vector4(0, 0, 0, 19) -- BOTTOM
sprite.set_vflip('/pipe#pipe', true) -- THIS DOESNT FLIP THE SLICE
go.set('/pipe#pipe', "slice", vmath.vector4(0, 19, 0, 0)) -- I TRY TO CHANGE IT TO TOP
Left is sliced from bottom on Editor, right is flipped and set to top slice
if I set both top and bottom, it gets all messed up.
go.set('/pipe#pipe', "slice", vmath.vector4(0, 19, 0, 19)) -- I TRY TO CHANGE IT TO TOP
2 Likes
britzl
June 18, 2024, 8:01pm
27
Good find! Please create a ticket on GitHub!
2 Likes