Bolt and PUN in same Unity project??
I have a LAN based multiplayer game (using UNET at the moment). I want to switch to Bolt.
I am planning to make it an online multiplayer game in the future, along with LAN features. My concerns are,
Can I use Bolt and PUN SDKs in same project without any conflicts?
Should i write separate code for online and LAN feature?
Reason for choosing Photon over UNET is dedicated server for the online multiplayer.
Answer by 0bytedna · Apr 29, 2017 at 05:30 AM
Photon Support replied,
1] Can I use Bolt and PUN SDKs in same project without any conflicts?
Combining PUN + Bolt does not make sense. Bolt works fine for LAN and online gameplay. Bolt is not based on UNET, it is written from the ground up. Dedicated servers can be used with Bolt. https://doc.photonengine.com/en-us/bolt/current/advanced-tutorials/headless-server
2] Should i write separate code for online and LAN feature?
No, this is not necessary - you "just" need to deal with the higher latency in online gameplay.
Your answer
![](https://koobas.hobune.stream/wayback/20220612120633im_/https://answers.unity.com/themes/thub/images/avi.jpg)