Nope. That's how Unity works. But luckily, you can make it work that way with Unity Addressable Prefabs. Below is a memory profile comparison animation showing the result with and without ...// This is need for the build of the application to work, We don't want the editor to run during build because it will remove the Editor functionality from the build and crash here
Unity is the ultimate game development platform. Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers.
Tharntype chapter 15