Skip to content
Dr Jack Brookes edited this page Feb 27, 2022 ยท 14 revisions

Bugs

If you find a bug or something you think is not supposed to happen please check the Issues page for info, if it isn't listed, create a new issue!

My CSV files output with ; as the delimiter and/or , as the decimal separator

This is due to the locale of your PC. PCs with European culture settings may output data in this way. As of UXF 2.3.6, this setting, accessed by configuring the File Saver Data Handler (enabled by default) will force CSV files to output with , as a separator and . as a decimal point.

image

NoSuchTrialException - There is no next trial

This error usually occurs in a few circumstances:

  1. Perhaps you are trying to run the first trial before generating your blocks and trials. Make sure you have written a method which generates your blocks and trials, and then add it to the On Session Start event. It is important to note the items listed in these events run in order, so it is important to make sure that you are not trying to run a trial before they have been generated. You can reorder the items by dragging. See this issue for more info.
  2. Perhaps you have some logic which tries to start the next trial immediately after ending one. This is problematic because when you are at the end of the trial list, there is no further trial to start. To avoid this, you can use session.BeginNextTrialSafe(), which only starts the next trial if one exists, otherwise does nothing.

Values in [UXF_Rig] don't seem to stick

See this issue. To fix, you must change some settings in Unity. The UXF Wizard can check and fix this for you (see General compatibility below).

General compatibility

Open UXF Wizard and press Fix on any issues that appear.

image

Verifying the settings of your trials & blocks

You can use the UXF Session Debugger to verify that your trial, blocks and settings are being generated correctly. To access it, use click the UXF menu at the top, and select UXF Session Debugger. It only works after you have started the session.

UXF Session Debugger

WebGL unityFramework is not defined

You can try this suggestion: https://github.community/t/github-pages-referenceerror-unityframework/150646/2

(Enable Decompression Fallback in Project Settings โ†’ Player)

๐Ÿง  Core topics

โ“ More help


๐Ÿ‘ฉโ€๐Ÿ’ป Programming reference

Unit tests

Clone this wiki locally