Search Issue Tracker
By Design
Votes
0
Found in
2022.3.5f1
Issue ID
UUM-43933
Regression
No
Assembly Reference to a specific DLL is lost when importing a custom package into another project
Reproduction steps:
1. Open the attached “ASDQWE” project
2. In the Project Window, right-click the “Assets/ISI Lab” folder and select “Export Package…”
3. In the Exporting Package Window, press the “Export…” Button
4. In the Export Package… Window, select a project to export the package into, name the package, and press the “Save” Button
5. Open the project that the package was imported into
6. In the Project Window, double-click the package to extract it
7. In the Import Unity Package Window, press the “Import” Button
8. In the Project Window, select “Assets/ISI Lab/LBS/LBS.asmdef” Assembly Definition Asset
9. In the Inspector Window, observe the Assembly References
Expected result: “Newtsoft.json.dll" is still referenced
Actual result: “Newtsoft.json.dll" reference is lost
Reproducible with: 2022.3.5f1
Could not test with: 2021.3.28f1 (two “error CS0246: The type or namespace name 'IntegerField' could not be found” errors), 2023.1.5f1, 2023.2.0b1 (The Project Window displays no Assets)
Reproducible on: Intel macOS 13.4.1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Prefab Override popup displays on wrong monitor when Inspector width is resized to minimum
- Scroll View is not moving by inertia after scrolling by click and dragging when Editor window is minimized and Canvas "Render Mode" is set to "World Space"
- "type mismatch error" occurs when the currentDirectionWS output of a Sample Water Surface node is connected to a float3 input
- URP Material Upgrade utility does not enable Alpha Clipping when material had Rendering Mode set to Cutout
- Particle System emission ignores the Sprite Atlas when using a Material that has the "Include in Build" setting unchecked
Resolution Note:
The project provided here has a dependency on UPM package `com.unity.nuget.newtonsoft-json`. Unfortunately asset store packages (which is the kind of package you obtain when exporting a directory) don't have any notion of package dependencies, so they won't be able to trigger the installation of newtonsoft.json UPM package in the destination project.
As a workaround, please instruct your users to add the newtonsoft package to their project.