Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.2.4 - Collections

Issue ID

ECSB-53

Regression

Yes

'Script will not be compiled' warnings appear in the Console when adding the 'Collections' package

Package: Multiplayer Netcode for GameObjects

-

Reproduction steps:
1. Create a new Unity project
2. Go to the 'Window -> Package Manager'
3. Click the add button in the status bar and select 'Add package by name'
4. Add the 'com.unity.collections’ package with version ‘1.1.0’

Expected result: No warnings are in the Console
Actual result: 'Script will not be compiled' warnings are in the Console

Reproducible with: 1.1.0 (2021.3.5f1, 2022.1.8f1)
Not reproducible with: 1.1.0 (2020.3.36f1, 2022.2.0a18, 2023.1.0a2), 1.2.3-pre.1 (2021.3.5f1), 1.3.1 (2021.3.5f1)

Reproducible on: macOS 12.4 (Intel)

Warnings:
* 'Script 'Packages/com.unity.collections/DocCodeSamples.Tests/CollectionsAllocationExamples.cs' will not be compiled because it exists outside the Assets folder and does not to belong to any assembly definition file.'
* 'Script 'Packages/com.unity.collections/DocCodeSamples.Tests/CollectionsExamples.cs' will not be compiled because it exists outside the Assets folder and does not to belong to any assembly definition file.'

  1. Resolution Note:

    Affected versions seem wrong, because this issue is fixed in Collections 1.2.3, and bug only mentions 1.1.0.

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.