MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Tile Generator does not generate proper image dimensions for wide tiles

Open StephenHodgson opened this issue 8 years ago • 7 comments

Overview

Wide tile icon dimensions are not properly updated and set in the PlayerSettings.asset

Steps to reproduce

Generate Tiles for you app using the Tile Generator. image

Unity Editor Version

2017.2.1f1

Mixed Reality Toolkit Release Version

2017.2.1.0

StephenHodgson avatar Dec 19 '17 20:12 StephenHodgson

Weird. I ran this again, and can't seem to find good repro steps.

Worked for me after subsequent attempts.

StephenHodgson avatar Dec 19 '17 21:12 StephenHodgson

I got a similar issue with Unity 2017.3.0f3 and Holotoolkit 2017.2.1.3. When I start generate icons, it stop at step 25/238 and I get the following error :

Exception of type 'System.ArgumentOutOfRangeException' was thrown. Parameter name: type Actual value was StoreTileLogo. UnityEngine.Debug:LogError(Object) HoloToolkit.Unity.SetIconsWindow:ResizeImages() (at Assets/HoloToolkit/Utilities/Scripts/Editor/SetIconsWindow.cs:230) UnityEditor.EditorApplication:Internal_CallDelayFunctions()

I used images which work well on my old version of Unity 5.6.2 and the appropriate Holotoolkit version.

tipiro85 avatar Mar 22 '18 09:03 tipiro85

I'm experiencing same issue as @tipiro85 (ArgumentException param:type ActualValue: StoreTileLogo)

I'm using MRTK: 2017.2.1.4 Unity: 2017.2.1p2

cefoot avatar May 03 '18 13:05 cefoot

I just tried it out with


Unity 2018.1.0f2 MRTK 2017.4.0.0 commit 05d004f3


and i did get the problem, that all generated wide tiles had the same size as the original : 2480x1200

Base was a Sprite with following settings Sprite Mode = Single Pixels Per Unit = 100 Mesh Type = Full Rect Extrude Edges = 1 Generate Physics = true Wrap Mode = Clamp Filter Mode = Point (no filter) Max Size = 4096 Resize Algorithm = Michell Compression = Normal Quality

jganser avatar Jul 06 '18 11:07 jganser

Changing some values of the sprite, solved the problem. For me.

jganser avatar Jul 06 '18 12:07 jganser

@jganser I am facing the same issue. Can you please share what sprite settings you used to resolve the issue?

albinhw avatar Aug 16 '18 05:08 albinhw

Closing issues older than 180 days. If this is still an issue, please reactivate with recent information.

wiwei avatar Apr 11 '19 20:04 wiwei