Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Debug logs from InputHybrid.cs

Discussion in 'Project Tiny' started by mattbrandmm, Mar 17, 2021.

  1. mattbrandmm

    mattbrandmm

    Joined:
    Jun 5, 2018
    Posts:
    90
    Anyone know how to disable the console logs from InputHybrid.cs in Tiny 0.32?

    They spam to the console so you can't really debug things using console logs. I've tried to comment out the code on line 113 of InputHybrid.cs but as soon as you return to Unity it reimports it and it's back.
     
  2. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Hybrid Input shouldn't run, we don't support playmode
     
  3. mattbrandmm

    mattbrandmm

    Joined:
    Jun 5, 2018
    Posts:
    90
    Thanks for the response @AbdulAlgharbi . It's definitely running in my project. Not sure why if you're saying it shouldn't...
     
  4. marwi

    marwi

    Joined:
    Aug 13, 2014
    Posts:
    138
    Same in the tiny racing example and also basic tiny scene.

    upload_2021-3-27_15-9-12.png
     
    mattbrandmm likes this.
  5. marwi

    marwi

    Joined:
    Aug 13, 2014
    Posts:
    138
    Just as an update: Apparently classic playmode is not supported and it is recommended to build / use build configurations instead. That worked fine (no logs) and was reasonably fast in my tests
     
    mattbrandmm likes this.
  6. mattbrandmm

    mattbrandmm

    Joined:
    Jun 5, 2018
    Posts:
    90