Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
6000.0.65f1
6000.3.3f1
6000.4.0b3
6000.5.0a4
Issue ID
UUM-131294
Regression
No
UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
How to reproduce:
1. Open the attached “IN-128258“ project
2. Build the AssetBundles “Tools > Build AssetBundles“
3. In File Explorer, open the Tools folder of the active Unity Editor installation “C:\Program Files\Unity\[Active_Editor_Version]\Data\Tools\“
4. In File Explorer, open the project’s “Assets/StreamingAssets” folder
5. Drag the “testprefab“ file from the “StreamingAssets” folder into the WebExtract.exe tool in the Editor Tools folder
6. In File Explorer, open the “testprefab_data“ folder located in the “StreamingAssets” folder
7. Drag the “CAB-“ file from the “testprefab_data“ folder into the binary2text.exe tool in the Editor Tools folder
8. Open the “CAB-“ text file in the “testprefab_data“ folder
9. Observe the contents of the text file
Actual result: Editor-only fields are serialized into the created AssetBundle
Expected result: Editor-only fields are not serialized into the created AssetBundle
Reproducible with: 2023.1.0a1, 6000.0.65f1, 6000.3.3f1, 6000.4.0b3, 6000.5.0a4
Reproducible on: Windows 11
Not reproducible on: No other environments tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
- Video framerate is not restored when trying to raise it after lowering it to 10 FPS
- WebGPU: CreateRenderPipeline errors with ShaderVariantCollection warmup
Add comment