Skip to content

Troubleshooting

mika edited this page Feb 23, 2020 · 25 revisions

Troubleshooting

Error message when importing plugin to project

"Assets\PointCloudTools\PointCloudViewerDX11\Scripts\PointCloudViewerTilesDX11.cs(1025,28): error CS0227: Unsafe code may only appear if compiling with /unsafe. Enable "Allow 'unsafe' code" in Player Settings to fix this error."

Need to enable [x] Allow 'unsafe' Code in Project/Player settings

Error message when loading .bin file

filename.bin cannot be opened with ReadAllBytes(), it might be too large >2gb UnityEngine.Debug:LogError(Object)

Limitation in the readallbytes, but in the next update (around summer 2019) can load these larger files too. https://github.com/unitycoder/UnityPointCloudViewer/issues/1

My .CGO format data conversion has some problems

Check if your data uses commas instead of dots (only dots are supported)

// bad data
2295027     
683,099976 880,200012 5544,700195
704,700012 879,400024 5538,500000

// good data
2295027   
683.099976 880.200012 5544.700195
704.700012 879.400024 5538.500000