Search Issue Tracker

Fixed in 2019.3.X

Votes

1

Found in

2019.3.0a7

2020.1.0a1

Issue ID

1179390

Regression

Yes

[Scripting] EditorUtility.CollectDependencies always returns null

Scripting

-

The Unity scripting API EditorUtility.CollectDependencies() always returns null and doesn't function at all.

How to reproduce:
1. Open tester-attached project (CollectDependencies)
2. From the menu bar select BUG > Collect Dependencies

Expected result: dependencies are collected successfully
Actual result: a message stating that dependencies returned null is logged in the Console

Reproducible with: 2019.3.0a7, 2019.3.0b1, 2020.1.0a1
Not reproducible with: 2017.4.32f1, 2018.4.7f1, 2019.2.3f1, 2019.3.0a6

Comments (1)

  1. julian-moschuering

    Sep 09, 2019 08:56

    For anyone interested: Workaround using the new API's:
    https://gist.github.com/ArchyInf/c3917efc905a4be3c521eddc8cd5414f

    Note: GetTypeDB must be cached as it executes a compilation step for the standalone libraries which takes some time.

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.