Exact extended traveling wave and spatiotemporal soliton solutions to the generalized (3+1)-dimensional Gross-Pitaevskii equation with time-dependent coefficients are obtained. The case with constant diffraction and parabolic potential strength, but with variable gain, is discussed in some detail. It is found that gain in the system is necessary for the appearance of stable solitons.