Search Unity

Debug logs from InputHybrid.cs

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

  1. mattbrandmm

    mattbrandmm

    Joined:
    Jun 5, 2018
    Posts:
    88
    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:
    88
    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:
    134
    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:
    134
    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:
    88
unityunity