Updating to a new plugin
If you see errors when trying to run your application with a new plugin, a full rebuild might be required. If there are no changes to your code, then it is recommended that you force the plugin to do a full rebuild. This is a strongly recommended scenario when Shooter Game does not replicate the same issue.
Different version of Unreal
If you need to do a full rebuild so you can build with a different version of Unreal, complete the following steps:
- Find and right-click the file named
<ProjectName>.uproject
. - Select Switch Unreal Version and then select your version.
This generates the Visual Studio project in the specified version and then builds the game.
Same version of Unreal
If you are using a version that is compatible with the new SDK, generate new Visual Studio files as normal, and then build the game from the new Visual Studio solution.
Example of issue
The following code details an example of errors that you might see during this process.
[2019.01.17-13.24.50:728][501]VivoxCore: sgsip:.issuer.channel-name.@mt1p.vivox.comsgsip:.issuer.channel-name.@mt1p.vivox.com user-name01Connected
[2019.01.17-13.24.50:728][501]VivoxCore: sgsip:.issuer.channel-name.@mt1p.vivox.comsgsip:.issuer.channel-name.@mt1p.vivox.com user-namesip:.issuer.channel-name.@mt1p.vivox.comsip:.issuer.channel-name.@mt1p.vivox.com/977F2A0A7468D7B31547731473650187true
[2019.01.17-13.24.51:149][589]VivoxCore: sgsip:.issuer.channel-name.@mt1p.vivox.comsgsip:.issuer.channel-name.@mt1p.vivox.com user-name001Connected
[2019.01.17-13.24.51:150][589]VivoxCore: sgsip:.issuer.channel-name.@mt1p.vivox.comsgsip:.issuer.channel-name.@mt1p.vivox.com user-name0sip:.issuer.channel-name.@mt1p.vivox.comsip:.issuer.channel-name.@mt1p.vivox.com/977F2A0A7468D7B31547731473650187true
[2019.01.17-13.24.51:552][674]VivoxCore: sgsip:.issuer.channel-name.@mt1p.vivox.comsgsip:.issuer.channel-name.@mt1p.vivox.com user-namel01Connected
[2019.01.17-13.24.51:552][674]VivoxCore: sgsip:.issuer.channel-name.@mt1p.vivox.comsgsip:.issuer.channel-name.@mt1p.vivox.com user-namelsip:.issuer.channel-name.@mt1p.vivox.comsip:.issuer.channel-name.@mt1p.vivox.com/977F2A0A7468D7B31547731473650187true
[2019.01.17-13.24.52:480][895]VivoxCore: Error: ChannelSession::Set3DPosition: failed for InvalidState - Channel AudioState Disconnected
[2019.01.17-13.24.52:676][945]VivoxCore: Error: ChannelSession::Set3DPosition: failed for InvalidState - Channel AudioState Disconnected
In this scenario, no changes had been made to the code, aside from the plugin update. When built normally and debugged, the channel connection code showed that it was using the state constants (for example, session_media_connected
) from the old version, which had been changed in the latest version.
After forcing the full rebuild of the plugin, the issue was resolved, and channel logic worked as expected.
Note: Forcing a full rebuild is generally an issue with newer versions of Unreal.
Comments
0 comments
Article is closed for comments.