hi,
this technology looks like perfect solution for exFlash developers moving to unity, that’s why we are trying to adopt it for our project
first try led to few errors, probably on our side, but I am just unable to find where we are wrong, can you please take a look?
when exporting from flash i get this trace
Warning shape is contained 1. symbole name = root
Warning shape is contained 2. symbole name = root
Warning shape is contained 3. symbole name = root
Warning shape is contained 4. symbole name = root
Warning shape is contained 5. symbole name = root
Warning shape is contained 6. symbole name = root
Warning shape is contained 7. symbole name = root
Warning shape is contained 8. symbole name = nohy
Warning shape is contained 9. symbole name = nohy
Warning shape is contained 10. symbole name = nohy
Warning shape is contained 11. symbole name = nohy
Warning shape is contained 12. symbole name = nohy
Warning shape is contained 13. symbole name = nohy
Warning shape is contained 14. symbole name = nohy
Warning shape is contained 15. symbole name = ostatni
Warning shape is contained 16. symbole name = ostatni
Warning shape is contained 17. symbole name = ostatni
Warning shape is contained 18. symbole name = ostatni
Warning shape is contained 19. symbole name = ostatni
Warning shape is contained 20. symbole name = ostatni
Warning shape is contained 21. symbole name = ostatni
Warning shape is contained 22. symbole name = telo
Warning shape is contained 23. symbole name = telo
Warning shape is contained 24. symbole name = telo
Warning shape is contained 25. symbole name = telo
Warning shape is contained 26. symbole name = telo
Warning shape is contained 27. symbole name = telo
Warning shape is contained 28. symbole name = telo
Warning shape is contained 29. symbole name = Tween 3
Publish SWF completed! 0.88 sec
when converting swf to lwf in ruby i have this 2 warnings
C:\Ruby193\swf2lwf>ruby swf2lwf.rb dog.swf
WARN: Shape(16) is not rect.
WARN: bitmap(nohy_noha_b_z_natazena.png 96x111) is specified UVWH(0,0)-(5,6).
and when runing in unity i have this error
NullReferenceException: Object reference not set to an instance of an object
LWF.UnityRenderer.ResourceCache.m__1D (System.String filename) (at Assets/Plugins/lwf/renderer/common/lwf_unity_resourcecache.cs:131)
LWF.UnityRenderer.ResourceCache.LoadLWFData (System.String filename, System.Func2 lwfDataLoader) (at Assets/Plugins/lwf/renderer/common/lwf_unity_resourcecache.cs:161) LWFPlayer.Load (System.String path, System.String texturePrefix, System.String fontPrefix, Single zOffset, Single zRate, Int32 renderQueueOffset, Int32 cachingFrames, UnityEngine.Camera camera, Boolean autoPlay, System.Func2 lwfDataCallback, System.Action1 lwfLoadCallback, System.Action1 lwfDestroyCallback, System.Func2 lwfDataLoader, System.Func2 textureLoader, System.Action`1 textureUnloader) (at Assets/Plugins/lwf/wrapper/LWFPlayer.cs:103)
Dog.Start () (at Assets/Dog.cs:9)
thanks for your help