Compile in debug mode
Options
Hi everyone,
When i make a build of my project i saw that some/all assemblies of Photon are built in Debug mode. I tried to find how to disable this debug mode with no success.
Have you any idea?
Thanks
When i make a build of my project i saw that some/all assemblies of Photon are built in Debug mode. I tried to find how to disable this debug mode with no success.
Have you any idea?
Thanks
0
Comments
-
I'm working with Unity for processionnal purpose, so we have a script to make the build. It check if the assemblies of the project are in Debug mode.
Pun version : 2.14
Unity version : 2019..11f0 -
Hi @SirKrow,
I see.
So this is a constraint or limit from a third party software.
Not sure how does this tool or Editor extension detect the debug mode of builds.
Could you disable it or bypass it?
May I know why you need it?
Are you concerned about security or performance reasons?
PhotonUnityNetwork.Utilities and PhotonWebSocket are generated by Unity as a result of the asmdef.0 -
i can't bypass or disable it, It is needed for make the sofware build with special option and for improve performance.
Actually i can build with the "normal way" without any problem.
But for the "script way" i have needed to exclude :- - PhotonUnityNetworking.Utilities
- - PhotonWebSocket
- - PhotonRealtime
- - PhotonUnityNetworking
- - PhotonChat
- - Photon3Unity3D
0 - - PhotonUnityNetworking.Utilities
-
developer@photonengine.com yes, of course, there was a typo.0
-
Mail sended0
-
You are right: Our managed dlls are included as debug.
So far, it's not been a problem. We don't usually provide release libs, as it's messy to keep them in Unity. Unless you require release libraries for the platform, I think we would stick to the debug versions.
In your checker code, I see: The assemblies "PhotonWebSocket", "PhotonRealtime", "PhotonUnityNetworking" and "PhotonChat" are excluded from checking, even though they are built by Unity.
So even anything Unity generates is in debug mode. This will be the "hot path" in your project, not Photon, which is used a few times each second.
0