Unity Align Images functionality only works with identical texture resolutions
-
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
- Consider checking out SDK examples.
- Have you looked in our documentations?
- Is you question a frequently asked one?
- Try searching our GitHub Issues (open and closed) for a similar issue.
-
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
| Required Info | |
|---|---|
| Camera Model | D435 |
| Firmware Version | 05.09.14.00 |
| Operating System & Version | Win 10 |
| Kernel Version (Linux Only) | |
| Platform | PC |
| SDK Version | 2 |
| Language | unity |
| Segment | others |
Issue Description
By modifying the Unity sample for the "RealSenseTexturesDepthAndColor" scene I found that the alignment script doesn't work unless the textures for depth and rgb are the same resolution. This doesn't allow us to maximize our rgb resolution to 1920x1080 as doing so ends up with a corrupted depth texture. Having them both at 1280x720 worked fine though.
Sounds like a bug on Unity wrapper level, align processing block should be able to work fine with any pair of resolutions. We will look into it.
This issue is solved on release 2.14.1: https://github.com/IntelRealSense/librealsense/tree/v2.14.1
[Realsense Customer Engineering Team Comment] @jaredgaul Please check if your problem is solved. Thank you.