Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
2017.1.0b2
Issue ID
905623
Regression
Yes
The type or namespace name `UnityEditor' could not be found when trying to build asset bundle or standalone player
Reproduction steps:
1. Open project attached (New Unity Project 145.zip) or unitypackage (BundlesError.unitypackage)
2. Press on "Test/Build Bundle".
Expected result: Bundle will be built.
Actual result: Bundle will not be built, since scripts had compiler errors. Errors:
"The type or namespace name `UnityEditor' could not be found. Are you missing an assembly reference?"
"Error building Player because scripts had compiler errors"
Notes: Scripts from "https://docs.unity3d.com/ScriptReference/BuildPipeline.BuildAssetBundles.html" works fine.
Reproduced on: 2017.1.0a2, 2017.1.0b2.
Works fine on: 5.4.4p4, 5.5.3p1, 5.6.0p3.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment