読者です 読者をやめる 読者になる 読者になる

peroon's diary

game programmer

Android Render Texture doesn't work

10-21 18:23:26.829: E/Unity(25129): A script behaviour has a different serialization layout when loading. (Read 32 bytes but expected 220 bytes)
10-21 18:23:26.829: E/Unity(25129): Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
10-21 18:23:26.829: E/Unity(25129):  
10-21 18:23:26.829: E/Unity(25129): (Filename:  Line: 1652)
10-21 18:23:39.668: E/Unity(25129): RenderTexture.Create failed: format unsupported.
10-21 18:23:39.668: E/Unity(25129):  
10-21 18:23:39.668: E/Unity(25129): (Filename:  Line: 299)
10-21 18:23:39.668: E/Unity(25129): RenderTexture.Create failed: format unsupported.
10-21 18:23:39.668: E/Unity(25129):  
10-21 18:23:39.668: E/Unity(25129): (Filename:  Line: 299)

In Unity Editor, the game works, but in Android, it doesn't work because of Render Texture.