Settings not accessible

Bug #1524200 reported by Marcus Tomlinson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-js-scopes
Fix Released
Critical
Marcus Tomlinson

Bug Description

When trying to get a settings value via a call like this: "scopes.self.settings["location"].get_string();", the variant returned is of type unity::scopes::Variant, and not our own Variant binding, hence is not usable.

We need to bind both the original class and our bound version in order to support direct and indirect access to variants via the bindings.

Related branches

Changed in unity-js-scopes:
assignee: nobody → Marcus Tomlinson (marcustomlinson)
importance: Undecided → Critical
status: New → In Progress
Changed in unity-js-scopes:
status: In Progress → Fix Committed
Changed in unity-js-scopes:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.