question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SceneContentAdjuster doesn't work on device

See original GitHub issue

SceneContentAdjuster only seems to work in Play mode. When I build and deploy to an immersive HMD, the object stays at the preset height.

SceneContentAdjuster also overwrites the X and Z values (to 0) instead of just the height, which doesn’t seem ideal.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
keveleighcommented, Nov 11, 2017

The more I look at SceneContentAdjuster, to more I’m not sure I understand how it works. It looks like it “worked” in the Editor because that was special cased in Awake to be 1 meter high.

On device, the Update loop was putting it at (0, 0, 0), due to a bug in TryGetDimensions.

What we should be getting is the offset between the floor and the head at app launch, right?

Off-topic, but I don’t think we’re using TryGetDimensions right there even without the Unity bug. It looks like it gives us the bounds dimensions, which means the Y value would be the height of the bounds itself, not the Y value of the floor.

0reactions
keveleighcommented, Dec 29, 2017

Looks like GitHub didn’t automatically close these issues when merged into master. I’ll close these manually and look into why.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot scenes and 3D data—Portal for ArcGIS
Issues you may encounter when working with scenes, hosted scene layers, or 3D data in the portal and their suggested solutions are listed....
Read more >
Troubleshooting - Bakery GPU Lightmapper: Wiki - geom.io
Using a version control system I copied the scene to another PC and it doesn't look right. Make sure you followed version control...
Read more >
Detect edit points using Scene Edit Detection
Using scene detection helps you to automatically get the cut points without having to go through the footage manually.
Read more >
Troubleshooting issues related to playback and performance
Sometimes you may face issues where the playback doesn't work after hitting the play button. Usually, such issues occur due to Audio ......
Read more >
Light/Exposure Adjusting Automatically - SOLVED
I understood 90% of the work and now I can adjust the exposure of the scene based on the physical settings in HDRP...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found