Jump to content

Disconnects after skin image Load

Closed 1.0.5

MichuX

Posted

Hello!

I recently purchased this tool, when I create some skins, I put in game, after that the skin doesn't load and players start to disconnect.

Error:

disconnecting: Exception (cs:98779): ArgumentException: Could not create sprite (0, 0, 512, 512) from a 256x256 texture. UnityEngine.Sprite.Create (UnityEngine.Texture2D texture, UnityEngine.Rect rect, UnityEngine.Vector2 pivot, System.Single pixelsPerUnit, System.UInt32 extrude, UnityEngine.SpriteMeshType meshType, UnityEngine.Vector4 border, System.Boolean generateFallbackPhysicsShape, UnityEngine.SecondarySpriteTexture[] secondaryTextures) (at <00000000000000000000000000000000>:0) UnityEngine.Sprite.Create (UnityEngine.Texture2D texture, UnityEngine.Rect rect, UnityEngine.Vector2 pivot, System.Single pixelsPerUnit, System.UInt32 extrude, UnityEngine.SpriteMeshType meshType) (at <00000000000000000000000000000000>:0) Rust.Workshop.Skin+<LoadIcon>d__10.MoveNext () (at <00000000000000000000000000000000>:0) UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <00000000000000000000000000000000>:0)

 

The skins have no more than 512x512 and all of them around 80.0 KB.

Can you help with this error?
 

Thank you in advance,

MichuX

MichuX

Posted

Hello!

After a several tests I found out the problem.
 

The Image that needs to be upload need to be exactly 512x512 and not less or more. After that the image needs to be normal RGB, on photoshop there are a lot of options about RGB, just need to be a default one.

The problem is solved for now 😄 

 

Best Regards,

MichuX

Billy Joe

Posted

Changed Status from Pending to Closed

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.