Search Issue Tracker

Fixed

Votes

1

Found in

2019.4.24f1

2019.4.27f1

Issue ID

1336767

Regression

Yes

"Assembly for Assembly Definition File '*' will not be compiled" warning thrown on creation of a new Project

Scripting

-

Reproduction steps:
1. Create a new project (with any template)
2. Observe the console

Expected results: No warnings are thrown
Actual results: "Assembly for Assembly Definition File '*' will not be compiled" warnings are thrown for various imported packages

Reproducible with: 2019.4.24f1, 2019.4.27f1
Not reproducible with: 2018.4.35f1, 2019.4.23f1, 2020.3.9f1, 2021.1.8f1, 2021.2.0a17

Environment:
Windows10 and macOS

Note: Only reproducible on downloaded Unity version and not reproducible if you build the version locally

Stacktrace:
Assembly for Assembly Definition File 'Packages/com.unity.textmeshpro/Tests/Runtime/Unity.TextMeshPro.Tests.asmdef' will not be compiled, because it has no scripts associated with it.
UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:TickCompilationPipeline (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget) (at /Users/bokken/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilationInterface.cs:435)

Comments (2)

  1. D3f42e41eb048f9948cffd4d1280bed7?d=mm

    UnityUser1124

    May 20, 2021 15:04

    Assembly for Assembly Definition File 'Packages/com.unity.textmeshpro/Tests/Runtime/Unity.TextMeshPro.Tests.asmdef' will not be compiled, because it has no scripts associated with it.
    UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:TickCompilationPipeline (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget)

  2. D3f42e41eb048f9948cffd4d1280bed7?d=mm

    UnityUser1124

    May 20, 2021 14:59

    Same issue here.
    TextMeshPro is broken?
    Also reproducible with: 2019.4.25f1, 2019.4.26f1 (built-in TextMeshPro 2.1.4).
    TextMeshPro 2.1.6 does not fix the issue on 2019.4.27f1.

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.