Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

4.6.0b9

Issue ID

607421

Regression

No

AssetDatabase.LoadAssetAtPath(path, type) returns null if the asset is hidden

Asset Import

-

Steps to repro:
1. Open the project
2. Select "Data with hidden sub-asset" in the inspector
3. In the context menu (gear wheel) select "load sub-asset": notice that it is null.
If you try the same on "Data with visible sub-asset" (drill down to select the main asset), the result is not null.

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.