AWD2 Support Doesn’t Work In 2.136

Software: Prefab3D

Avatar
Max Did It, Newbie
Posted: 21 January 2013 04:42 PM   Total Posts: 16

I have updated Prefab3D to version 2.136 today.

Unfortunately, the new version seems to have broken AWD2 export.

I import an asset as I used to do in the previous versions and export it to the AWD2 support.

I than load the AWD asset as a byte array into my Flash application and try to parse it with

assetLoader.loadData(byteData); 

. This has worked before.

Now, it results in this exception:

TypeError: Error #1034: Type Coercion failed: cannot convert away3d.core.base::Geometry@5919d81 to away3d.materials.MaterialBase.

I have tested new assets and older assets that have worked with the previous version.

 

   

Avatar
Max Did It, Newbie
Posted: 21 January 2013 04:46 PM   Total Posts: 16   [ # 1 ]

Sorry for the triple post, I don’t know what went wrong there long face

 

   

Avatar
Fabrice Closier, Administrator
Posted: 21 January 2013 05:58 PM   Total Posts: 1265   [ # 2 ]

Did your awd happend to be generated with the version before?
Right after release 2.135 with the new saving option, I’ve discovered this severe issue and stopped spreading of updates right away. Between finding, fixing and testing, it costed max 6 hours before a new update (2.136) was available. As the faulty update was out for +-2 hours, you must have used it during this 8 hours window…

As I’m still busy in this field, if you are sure that it wasn’t generated by 2.135,
Please send me the awd so I can inspect it. Otherwize, only way to fix is to load your original model in 2.136 and export again.

 

   

Avatar
Max Did It, Newbie
Posted: 21 January 2013 06:35 PM   Total Posts: 16   [ # 3 ]

I importet a Collada DAE after I updated Prefab and the error occurred. So the 2.135 shouldn’t have any influence on this issue.

I have attached an AWD file exported with the 2.136 version that exhibits this behaviour.

Thanks for looking into this!

 

File Attachments
rubberbandracing_logo.awd  (File Size: 20KB - Downloads: 355)
   

Avatar
Fabrice Closier, Administrator
Posted: 21 January 2013 07:23 PM   Total Posts: 1265   [ # 4 ]

Somehow the attachment fails. Please send the dae to fabrice3d at gmail dot com so I can see what the expected behavior/result must be and spot easyer the issue. I know in big line what the problem is in the awd but so far none of my test models do trigger the problem anymore.

 

   

Avatar
Fabrice Closier, Administrator
Posted: 22 January 2013 09:45 AM   Total Posts: 1265   [ # 5 ]

Thank you for your files. I was able to reproduce and isolated the problem.
An update will be available very soon.

 

   

Avatar
Max Did It, Newbie
Posted: 22 January 2013 09:53 AM   Total Posts: 16   [ # 6 ]

Awesome! Thank you for your quick reply, I’ll be waiting for the update grin

 

   

Avatar
Fabrice Closier, Administrator
Posted: 22 January 2013 01:36 PM   Total Posts: 1265   [ # 7 ]

Sended you offline an update. Please can you install it and comfirm issue is gone?

 

   

Avatar
Max Did It, Newbie
Posted: 22 January 2013 04:08 PM   Total Posts: 16   [ # 8 ]

From what I can see the issue has been resolved. I tested several assets that gave me troubles before and they work again!

Thanks again for your quick response, this has helped me a lot!

 

   

Avatar
Fabrice Closier, Administrator
Posted: 22 January 2013 04:34 PM   Total Posts: 1265   [ # 9 ]

Glad to hear this and thank you for testing… I’m finishing a new addition, and will probably push a public update tonite.

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X