You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the error message indicates, the size of the SVG (created using shapes in XD) seems to be too large.
However, since this is a limitation of Unity’s official Vector Graphics package ( https://docs.unity3d.com/Packages/[email protected]/manual/index.html ) , I can’t think of a solution myself…
RenderTexture.Create failed: requested size is too large.
UnityEngine.RenderTexture:GetTemporary (UnityEngine.RenderTextureDescriptor)
Unity.VectorGraphics.VectorUtils:RenderSpriteToTexture2D (UnityEngine.Sprite,int,int,UnityEngine.Material,int,bool) (at ./Library/PackageCache/[email protected]/Runtime/VectorSprite.cs:378)
Unity.VectorGraphics.Editor.SVGImporter:BuildTexture (UnityEngine.Sprite,string) (at ./Library/PackageCache/[email protected]/Editor/SVGImporter.cs:551)
Unity.VectorGraphics.Editor.SVGImporter:GenerateTexturedSpriteAsset (UnityEditor.AssetImporters.AssetImportContext,UnityEngine.Sprite,string) (at ./Library/PackageCache/[email protected]/Editor/SVGImporter.cs:452)
Unity.VectorGraphics.Editor.SVGImporter:OnImportAsset (UnityEditor.AssetImporters.AssetImportContext) (at ./Library/PackageCache/[email protected]/Editor/SVGImporter.cs:336)
UnityEditor.AssetDatabase:ImportAsset (string)
AkyuiUnity.Xd.SvgToPng:Convert (string,UnityEngine.Vector2,Unity.VectorGraphics.ViewportOptions,AkyuiUnity.Xd.XdImportSettings) (at ./Library/PackageCache/dev.kyubuns.akyuiunityxd@b69aea9811/Editor/Svg/SvgToPng.cs:52)
AkyuiUnity.Xd.ShapeObjectParser/<>c__DisplayClass5_0:b__0 () (at ./Library/PackageCache/dev.kyubuns.akyuiunityxd@b69aea9811/Editor/XdObjectParser/ShapeObjectParser.cs:147)
AkyuiUnity.Xd.XdAssetHolder:Load (string) (at ./Library/PackageCache/dev.kyubuns.akyuiunityxd@b69aea9811/Editor/XdAssetHolder.cs:41)
AkyuiUnity.Xd.XdAkyuiLoader:LoadAsset (string) (at ./Library/PackageCache/dev.kyubuns.akyuiunityxd@b69aea9811/Editor/XdAkyuiLoader.cs:69)
AkyuiUnity.Editor.Importer:ImportAssets (AkyuiUnity.Editor.ScriptableObject.IAkyuiImportSettings,AkyuiUnity.Loader.IAkyuiLoader,AkyuiUnity.Editor.PathGetter,AkyuiUnity.Editor.AkyuiLogger,AkyuiUnity.Editor.IAkyuiProgress) (at ./Library/PackageCache/dev.kyubuns.akyuiunity@b69aea9811/Editor/Importer.cs:191)
AkyuiUnity.Editor.Importer:Import (AkyuiUnity.Editor.ScriptableObject.IAkyuiImportSettings,AkyuiUnity.Loader.IAkyuiLoader,AkyuiUnity.Editor.AkyuiLogger,AkyuiUnity.Editor.IAkyuiProgress) (at ./Library/PackageCache/dev.kyubuns.akyuiunity@b69aea9811/Editor/Importer.cs:87)
AkyuiUnity.Editor.Importer:Import (AkyuiUnity.Editor.ScriptableObject.IAkyuiImportSettings,AkyuiUnity.Loader.IAkyuiLoader[]) (at ./Library/PackageCache/dev.kyubuns.akyuiunity@b69aea9811/Editor/Importer.cs:46)
AkyuiUnity.Xd.XdImporter:Import (AkyuiUnity.Xd.XdImportSettings,string[]) (at ./Library/PackageCache/dev.kyubuns.akyuiunityxd@b69aea9811/Editor/XdImporter.cs:45)
AkyuiUnity.Xd.XdImportSettingsEditor:OnInspectorGUI () (at ./Library/PackageCache/dev.kyubuns.akyuiunityxd@b69aea9811/Editor/XdImportSettingsEditor.cs:38)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
The text was updated successfully, but these errors were encountered: