I'm building for Windows Store! Please switch your platform to Windows Store and try to compile anything using Spine.
No fix for it yet? =(
I'm building for Windows Store! Please switch your platform to Windows Store and try to compile anything using Spine.
No fix for it yet? =(
Maybe it works as is but has a different flag for Windows Store/Modern Apps.
What version of Unity are you using now?
Try replacing #if WINDOWS_PHONE
with #if (WINDOWS_PHONE || UNITY_WP8 || UNITY_METRO || UNITY_WINRT)
Got my hands full at the moment. I can try to look into it over the weekend if nobody else does.
More info here: http://docs.unity3d.com/Manual/Platform ... ation.html
I wasn't still able to fix it! Sorry for asking again, but could you please take a look?
Strange!
I removed a lot of code from SkeletonData and Atlas, just to be able to compile... and everything seems to be working good, my spine animations are still playing. Is this expected? These classes are only for Design Time?
Hi, did you managed to get this working? I'm having the same issue here.
Building for Windows Phone works just fine, but as a Windows Store app I'm getting the same errors.
Ali
Unity 5 changed the defines for Windows Modern apps. The recommendations above are now incorrect.
http://docs.unity3d.com/Manual/WindowsU ... s-faq.html
probably want UNITY_WSA
4 months later, I downloaded all again from GitHub, but I still was not able to make it work!
Please somebody with enough knowledge could please update it make it work as expected?
Struggling with the same issue here too. Really keen to publish as a Universal/Windows Store app, but running against the same problems.
You guys know more about windows store than I do, I assure you. I'm an android/iOS unity dev.
I think I was able to make it work!
I changed all #if WINDOWS_STOREAPP to #if NETFX_CORE and commented some code on SkeletonBinary.cs (BufferedStream seems to not exists on Windows Store)
/*
using (var input = new BufferedStream(await folder.GetFileAsync(path).AsTask().ConfigureAwait(false))) {
SkeletonData skeletonData = ReadSkeletonData(input);
skeletonData.Name = Path.GetFileNameWithoutExtension(path);
return skeletonData;
}
*/
return null;
Not the recommended fix, but now I can compile! I will test the final result and report if it worked.
Please do update us.
It worked! Compiled and working on Windows Store and Windows Phone.
Anybody please make a definitive fix for the official runtimes.
wagenheimer escribióIt worked! Compiled and working on Windows Store and Windows Phone.
Anybody please make a definitive fix for the official runtimes.
Sounds like you just volunteered.
Hello, any progress with this? UNITY_WSA is for sure usable also for WIN 10 builds.