Recently I have a problem with 3D function
You didn't say which version of Photshop you have, but 3D for Photoshop for is being discontinued.
"For a short time, a Technology Preview preference can be used to emulate the last known working state for 3D features. Go to Photoshop > Preferences > Technology Previews and check the box “Deactivate Native Canvas”, and restart Photoshop. Note that this operating mode is increasingly unreliable in modern operating systems, and we recommend using Photoshop version 22.2 (from February 2021) if you need more stable performance with Photoshop’s 3D features."