Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.3.3f1

6000.4.0b4

6000.5.0a4

Issue ID

UUM-131807

Regression

No

Script with Errors is created in Example Package Sample when creating a Package with default fields

Packman

-

Steps to reproduce:

  1. Open any Project and download the attached Unity Package
  2. Open the Package Manager and click the "+" button in the top left corner of the Window
  3. Select "Install Package from tarball..." and select the downloaded Unity Package
  4. In the Package Manager select this Package and open the Samples tab, then download and import it into the Project
  5. Observe the Console

OR

  1. Create a Package from the Package Manager with a default Manifest
  2. Export it
  3. Add it to the Package Manager
  4. Download and import the example Sample

Actual results: Error "Assets\Samples\test3\0.1.0\Example Sample\SampleExample.cs(25,13): error CS0103: The name 'Debug' does not exist in the current context" is logged in the Console

Expected results: When creating a custom Package with default fields the example Package's Sample is created without any errors

Reproducible with versions: 6000.3.3f1, 6000.4.0b4, 6000.5.0a4

Can’t test with versions: 6000.0.64f1, 6000.2.15f1 (No Package creation from PM)

Tested on (OS): Windows 11, macOS 15

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.