Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mrtk3 - data binding] Data sources with custom data source type ( != data) dont work when instantiated by DataConsumerCollection #11331

Closed
phwyfve opened this issue Dec 28, 2022 · 0 comments
Labels
Bug Data Binding / Virtualization Issues related to data binding or list virtualization IssueMigrated MRTK3

Comments

@phwyfve
Copy link

phwyfve commented Dec 28, 2022

This issue has been migrated a new MRTK repository, and the status of this issue will now be tracked at the following location:


Describe the bug

When creating data source with data source type different than "data", then the DataConsumers don't work as expected, especially the ones instanciated by the DataConsumerCollection component : All TextMesh bound to DataConsumetText components will be reset with null values. For some reason the same sample with a data source type named "data" will have the TextMesh text correctly replaced by the expected source value.

To reproduce

Steps to reproduce the behavior:

  1. Unzip the attached document in Assets folder of MRTKDev Template project.
  2. Open the scene DataSourceFactory Tests
  3. Enable Game object called FactoryData (working), and disable FactoryCustomDataType (not working), then press play. The DataConsumers should work correctly and create the items with correct text
  4. Disable Game object called "FactoryData (working)", and enable "FactoryCustomDataType (not working)", then press play. The DataConsumers dont work anymore (still displaying {{text}}, or empty text )

Expected behavior

in step 4 the DataConsumers should work correctly and create the items with correct text

Your setup (please complete the following information)

  • Unity Version 2021.3.9f1
  • MRTK Version SHA-1: a577eb2

Target platform (please complete the following information)

  • HoloLens 2
  • Unity editor

Tests_Factory.zip

@phwyfve phwyfve added the Bug label Dec 28, 2022
@github-actions github-actions bot added the MRTK3 label Dec 28, 2022
@phwyfve phwyfve changed the title [mrtk3 - data binding] Data sources with custom data source type ( != data) dont work [mrtk3 - data binding] Data sources with custom data source type ( != data) dont work when instanciated by DataConsumerCollection Dec 29, 2022
@phwyfve phwyfve changed the title [mrtk3 - data binding] Data sources with custom data source type ( != data) dont work when instanciated by DataConsumerCollection [mrtk3 - data binding] Data sources with custom data source type ( != data) dont work when instantiated by DataConsumerCollection Dec 30, 2022
@AMollis AMollis added the Data Binding / Virtualization Issues related to data binding or list virtualization label Feb 24, 2023
@AMollis AMollis assigned srinjoym and unassigned m-the-hoff Mar 3, 2023
@AMollis AMollis added this to the MRTK v3.x future milestone Mar 7, 2023
@IssueSyncBot IssueSyncBot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Data Binding / Virtualization Issues related to data binding or list virtualization IssueMigrated MRTK3
Projects
None yet
Development

No branches or pull requests

5 participants