Jump to content

[V1.4.3] Log spam: Method not found: UnityEngine.Texture2D.LoadImage


Recommended Posts

SInce I updated from V.1.3.x to 1.4.3, I get Log spam:

Method not found: 'UnityEngine.Texture2D.LoadImage'

For pretty much any mod I have installed. This method seems to have been replaced by "ImageConversion.LoadImage" in Unity framework.

Can I do anything about that, or do all mod owners have to fix their code?
Even plugins that are listed as compatible with V.1.4.3 are throwing this exception.

And I guess itt's not good, because those assets will then be missing in the game.

Link to comment
Share on other sites

  • 2 weeks later...

There is a new requirement on the dimensions of the images. The sizes must be a power of 2 to avoid compression effects.

Then load the bytes to a Texture2D using the LoadRawTextureData method followed by the Apply() method.

Give that a try and see what happens.

 

Edited by bewing
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...