Search Issue Tracker
Fixed in 2018.2.X
Votes
1
Found in
2017.1.0f3
Issue ID
938560
Regression
No
Inconsistency with Resources.Load () - 'Resources.Load () as Sprite' does not load Sprite
Steps to reproduce:
1. Open user attached project
2. Open Resources/Scenes/Main.unity scene
3. Play the scene
4. Notice that the spriteRenderer.sprite = Resources.Load ("Sprites/S") as Sprite; command does not load
Expected result: spriteRenderer.sprite = Resources.Load ("Sprites/S") as Sprite; should load a sprite
Reproduced in: 2017.3.0b1, 2017.2.0b1, 2017.1.1p3, 5.6.3p4, 5.5.4p5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment