Issue Details (XML | Word | Printable)

Key: LIBOMV-15
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Jim Radford
Reporter: Jim Radford
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
libopenmetaverse

Unrecognized Asset Types throw exception "Wearable asset has unrecognized version 18"

Created: 04/Dec/07 02:45 PM   Updated: 19/Feb/10 10:20 AM
Component/s: Assets
Affects Version/s: 0.3.1
Fix Version/s: 0.6.2

Issue Links:
Duplicate
 


 Description  « Hide
Getting the following message when calling SetPreviousAppearance(false); on some bots. These 2 particular bots have prim attachments.

ERROR [Bot Name]: System.Exception: Wearable asset has unrecognized version 18
at libsecondlife.AssetWearable.Decode() in D:\dev\libsecondlife-0.3.0-release\libsecondlife\AssetTypes.cs:line 213
at libsecondlife.AppearanceManager.Assets_OnAssetReceived(AssetDownload download, Asset asset) in D:\dev\libsecondlife-0.3.0-release\libsecondlife\AppearanceManager.cs:line 1160
at libsecondlife.AssetManager.TransferPacketHandler(Packet packet, Simulator simulator) in D:\dev\libsecondlife-0.3.0-release\libsecondlife\AssetManager.cs:line 925
ERROR [Bot2 Name]: System.Exception: Wearable asset has unrecognized version 2
at libsecondlife.AssetWearable.Decode() in D:\dev\libsecondlife-0.3.0-release\libsecondlife\AssetTypes.cs:line 213
at libsecondlife.AppearanceManager.Assets_OnAssetReceived(AssetDownload download, Asset asset) in D:\dev\libsecondlife-0.3.0-release\libsecondlife\AppearanceManager.cs:line 1160
at libsecondlife.AssetManager.TransferPacketHandler(Packet packet, Simulator simulator) in D:\dev\libsecondlife-0.3.0-release\libsecondlife\AssetManager.cs:line 925



 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Jim Radford added a comment - 04/Dec/07 03:03 PM
The version 18 asset appears to be coming from the Fireman Avatar (Probably the Axe, helmet, or possibly the tank), the version 2 appears to be coming from the prim glasses on the City Chic male avatar. Both just from the standard library.

george added a comment - 16/Mar/08 01:08 AM
There is also a version 10 and some other versions which you can see when you try some of the CSI:NY Avatars and there is an additional parameter with the name "perm_mask", for example the "Black Jacket" of the Avatar "CSI:NY Brad" has this parameter.

I added the parameter to the AssetTypes.cs file and (for now ) ignore it and as an additional workaround I disabled the version check (so far no problems when the check is disabled) and print instead a warning if I find a unknown version, this way a lot of Avatars have the correct appearance (for example the "CSI:NY Brad" Avatar).


James Neal added a comment - 28/Mar/08 04:54 PM
Status?

george added a comment - 28/Mar/08 05:01 PM
Btw. the "Black Jacket" is direct from the SL-Library and not from the "CSI:NY Brad" Avatar.

Jim Radford added a comment - 28/Apr/08 08:38 AM
wee need to expand our asset decoding to include these versions of assets, Since I know jhurliman is busy I'm going to unassign this incase someone has the time and wants to submit a patch.

Jim Radford added a comment - 29/Apr/09 01:44 PM
For now at least, there doesn't seem to be a significant enough users this issue affects to warrant supporting ancient asset types.