bmlTUX

bmlTUX

  • Documentation
  • Install
  • Publication
  • Help
  • BioMotionLab
  • GitHub

›Help

Getting Started

  • Getting Started
  • Publication
  • Requirements
  • Overview
  • Installation

Tutorials

    Making your first experiment

    • Part 1: Tutorial Overview
    • Part 2: Creating a new Experiment
    • Part 3: Designing an Experiment
    • Part 4: Writing Runner Scripts
    • Part 5: Defining Blocks

Documentation

  • Creating an Experiment
  • Accessing GameObjects and Scripts in your Scene
  • Output
  • Setting Up Your Experiment's Behavior
  • Trial Class
  • Block Class
  • Experiment Class
  • Settings

Help

  • Troubleshooting
  • About Coroutines and IEnumerators

Advanced

  • Advanced Options
  • Recording Continuous Data
  • Using Standalone VR Headsets
  • Logging
  • Building to an Application
  • Customizing Further
  • Extras

Troubleshooting

  • My MonoBehaviour script is not showing up in the inspector.

    • Make sure the Class name matches the Filename exactly. MonoBehaviours require this.
  • My custom ExperimentRunner script is not showing up in the inspector. Or I can’t drag it to a GameObject in the scene

    • Make sure the class name matches the filename exactly. MonoBehaviours require this.
    • Make sure there are no syntax errors in any code in your project. One error will prevent unity from dragging MonoBehaviours to objects.
  • My Experiment runs, but doesn't seem to call my custom Block or Trial scripts

    • Make sure that your ExperimentRunner script is attached to a gameObject in the scene, and references the appropriate script files in its inspector
  • I'm getting compile errors

    • Make sure your project settings are set up for API Compatibility Level is set to .Net 4.x. (Edit > Project Settings > Player > Other Settings)
  • I'm getting argument exceptions about columns missing

    • Make sure you've spelled your variables and your access correctly. These errors are usually due to mismatch between the spelling of a variable in your Variable Config file and your custom Trial script. For example if you spelled your variable "Color" (no u) but accessed it using Data["Colour"] (with a u), you will get an ArgumentException error.
  • How can I access the current trial or block index, or the total number of trials?

    • The toolkit is designed specifically so that you don't have to ever worry about this.
    • If you find yourself wanting to use these numbers, it's probably a sign that you are not designing things simply.
    • One example: "I want to show instructions after every repetition through the trials, and there are 8 trials, so I need to know the index so I can show instructions on the right trial."
      • Solution: Create a block variable such that each block contains the 8 trials, and show instructions at the start of every block.
    • If you really need to, trials and blocks have an Index property that will tell you its index (at runtime only)
  • The UI text is too big or misaligned:

    • This is caused by a bug in TextMeshPro.
    • To Fix, in the unity editor in your project, navigate to Packages/bmlTUX/Prefabs. Right click on ExperimentUI and click "Reimport".
    • This can be avoided in the future by importing TextMeshPro essentions BEFORE importing bmlTUX package.
    • If this does not fix the problem please report the issue on github issues page stating your current versions of Unity, TextmeshPro, and bmlTUX.
  • The Experiment Runner UI Looks strange or is Tiny when I have a VR headset hooked up.

    • SteamVR automatically sets all cameras in the scene to track the HMD. I haven't found a way to disable this. You need to disable it manually. In the TUX folder, there's a prefab for the UI called "ExperimentGUI". Open the prefab and there should be a camera object inside called "ExperimentUICamera". Adjust the "Target Eye" to "Display(None)". This will render the UI to the display rather than floating in front of the HMD. I'm looking for solutions to avoid this step.

Bug reporting

if you found a bug or something that needs improvement, please open a ticket on our issues page

← SettingsAbout Coroutines and IEnumerators →
  • Bug reporting
bmlTUX
bmlTUX
DocumentationDownload
Facebook Open Source
Copyright © 2022 BioMotionLab (A.O. Bebko & N.F. Troje)