TAssetPtr invalid on restart and Atmospheric Fog Component not showing up.
I am using 4.3.1, self-compiled with no changes, compiled as x64 Development Editor, starting the Editor over VS -> Debug -> Start New Instance.
The first issue is that assets added in the details panel which are accessible through the TAssetPtr's are invalid on restart, I have to re-add them for them to become valid.
Second issue is that my Atmospheric Fog Component isn't rendering, the properties are in the details panel but its not rendering in the scene.
I've tried recreating the actor in the scene which helped once but now does nothing and recompiling with a cleaned build doesn't help either. This damn engine is really really starting to get to me. The longer I work on something the more it bugs up and the more issues rise. I've even deleted all objects except the landscape from my scene, saved and quit. cleaned the build and recompiled, then re-added my Actor - it just doesn't help.
Ok, so I looked at the atmospheric fog actor and found this code snipplet, it works and makes it render as soon as I place my actor into the scene:
I just hope it doesn't bug up into the state it was earlier...
And I seem to have fixed, or more, figured out the issue with the TAssetPtr. The problem was that the Assets where not loaded yet, so I will have to load them through a loading process, there are enough tutorials for asset loading around (Opening them loads them as well and makes them valid).
answered Aug 06 '14 at 10:03 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here