Strange bug a friend and I encountered last night with unpacking PBR materials out of an object inventory resulting in only some of them transferring over, with the inventory fully loaded. Tried different viewers and tried scripted vs. manual unpacking, made no difference.
When opening and unpacking an object inventory that has a large number of PBR materials in it, a lot of the materials will fail to copy over into user inventory. The box was no-modify, and we were trying to unpack a box with 600 materials in it. This also happens in the reverse; dragging and dropping the materials into the object resulted in only between 300 and 500 of them making it into the box.
Curiously, the number that transfers over is very inconsistent, and this seems to happen both with manual unpacking and scripted unpacking.
To reproduce:
  1. Rez a box.
  2. Set box to no modify (in case this had something to do with the bug, not sure) or drop a random no-modify script into it for the same purpose.
  3. Drop a large number of PBR materials into the box.
  4. Pick up the box.
  5. Drop the box to simulate a different user going to unpack it
  6. Try to open and unpack the box. Use an unpacker script and see if it's any different.