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