Can I use both LLAPI and HLAPI at the same time?

Hi I would like to use both HLAPI and LLAPI in my game. The reason is that I would like to do state synchronization using HLAPI and large message transfer using LLAPI.

I tried doing this but Unity complains that there are two NetworkManagers in the scene one will be ignored.

Yes you can use both at the same time. But why do you think you need 2 NetworkManagers? (you don’t). Pretty sure its something you’re doing.

I don’t need two NetworkManagers. But as soon as I add NetworkTransport.Init() in my scripts, I see this warning. I will try again.

I tried it today. As soon as I add LLAPI calls to my script, I see warning "
Multiple NetworkManagers detected in the scene. Only one NetworkManager can exist at a time. The duplicate NetworkManager will not be used.
UnityEngine.Networking.NetworkManager:Awake()".

Please let me know if I am doing something wrong or it’s even possible to use HLAPI and LLAPI at the same time.

"

The NetworkManager uses the LLAPI in the background, so you can definitely use both simultaneously.

That ‘Multiple NetworkManagers detected’ warning is given by the NetworkManager’s Awake() function that checks whether NetworkManager.singleton already exists, so it has nothing to do with NetworkTransport.Init(). You might have a NetworkManager in the online scene too, or two in your offline scene?