Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Solved
  • Unsolved
  • Users
Skins
  • Light
  • Brite
  • 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
  1. Home
  2. Client API Defects
  3. Unity Compiler Error in RelayComms related to 'Task'

Unity Compiler Error in RelayComms related to 'Task'

Scheduled Pinned Locked Moved Solved Client API Defects
errorexceptionrelaycommsunitytask
3 Posts 2 Posters 1.3k Views 2 Watching
  • 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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

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