• Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
brainCloud Forums

Unity Compiler Error in RelayComms related to 'Task'

Scheduled Pinned Locked Moved Solved Client API Defects
errorexceptionrelaycommsunitytask
3 Posts 2 Posters 358 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eric Welwood
    wrote on last edited by
    #1

    [CompilerError] The type 'Task' exists in both 'System.Threading, Version=1.0.2856.102, Culture=neutral, PublicKeyToken=31bf3856ad364e35' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
    Compiler Error at Assets\BrainCloud\Client\BrainCloud\Internal\RelayComms.cs:978 column 34
    976: private async void connectTCPAsync(string host, int port)
    977: {
    -->978: bool success = await Task.Run(async () =>
    979: {
    980: try

    1 Reply Last reply
    0
  • E Offline
    E Offline
    Eric Welwood
    wrote on last edited by
    #2

    Caused by Bolt https://assetstore.unity.com/packages/tools/visual-scripting/bolt-87491
    Specifically I had Bolt 1.4.1 installed, uninstalling resolves the issue.
    Also you must close Unity before deleting the Ludiq folder otherwise it doesn't actually delete it.

    1 Reply Last reply
    0
  • Paul WinterhalderP Offline
    Paul WinterhalderP Offline
    Paul Winterhalder brainCloudAdmin
    wrote on last edited by Paul Winterhalder
    #3

    Hi Eric,

    Thanks so much for the update!

    Good luck with your app.

    Paul.

    1 Reply Last reply
    0

  • Login

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users