Search Issue Tracker

Duplicate

Votes

0

Found in

4.3.0f4

Issue ID

577717

Regression

No

Resources.load does not load an animation if it has the same name as a texture

Asset Import

-

To reproduce:
1. Open attached project
2. Open scene "default". It contains a script which does resources.load for three different files with the same name "a" and outputs what's been loaded into the console
3. Enter play mode and you'll notice that a texture2d has been loaded twice. Upon inspecting the script you'll see that an animation should have been loaded instead

It does not matter in what order the resources are loaded - as long as they have the same name, the animation becomes a texture2d.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.