This repository was archived by the owner on Jan 1, 2026. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
lilToon焼き込みかつTTTを使っていると例外が発生して死ぬ #275
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requestedupstreamissue can be reproduced without RIHissue can be reproduced without RIH
Description
private void CopyTextureSetting(Texture2D fromTexture, Texture2D toTexture)
{
if(fromTexture == null || toTexture == null) return;
string fromPath = AssetDatabase.GetAssetPath(fromTexture);
string toPath = AssetDatabase.GetAssetPath(toTexture);
Debug.Log($"{fromPath} => {toPath}");
var fromTextureImporter = (TextureImporter)AssetImporter.GetAtPath(fromPath);
var toTextureImporter = (TextureImporter)AssetImporter.GetAtPath(toPath);
}Texture2Dのアセットのパスのインポーターが常に TextureImporter と仮定しているのがよくなさそう。最新版にしたら治ったりする?
それともupstream?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requestedupstreamissue can be reproduced without RIHissue can be reproduced without RIH