Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    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